feat/RES-73_Ajout_DebugMode_Analytics #22
@@ -241,7 +241,7 @@ enum AnalyticsGenerator {
|
|||||||
managers.values.forEach { manager in
|
managers.values.forEach { manager in
|
||||||
|
|
||||||
if isDebugMode {
|
if isDebugMode {
|
||||||
logger.debug("📊 Event: \\(name, privacy: .public) | action: \\(action, privacy: .public) | category: \\(category, privacy: .public) | params: \\(String(describing: params ?? [:]), privacy: .public)")
|
logger.debug("📊 Event: \\(name, privacy: .public) | action: \\(action.isEmpty ? "-" : action, privacy: .public) | category: \\(category.isEmpty ? "-" : category, privacy: .public) | params: \\(String(describing: params ?? [:]), privacy: .public)")
|
||||||
}
|
}
|
||||||
|
|
||||||
manager.logEvent(
|
manager.logEvent(
|
||||||
|
Reference in New Issue
Block a user