Skip to content

Commit

Permalink
Merge pull request #1298 from wakmusic/1297-modify-analytics-log-cond…
Browse files Browse the repository at this point in the history
…ition
  • Loading branch information
KangTaeHoon authored Sep 10, 2024
2 parents a70edfb + db604d1 commit afcb8e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Projects/Modules/LogManager/Sources/AnalyticsLogManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ public extension LogManager {
static func analytics(
_ log: any AnalyticsLogType
) {
#if RELEASE
Analytics.logEvent(log.name, parameters: log.params)
#elseif DEBUG
#if DEBUG
LogHistoryStorage.shared.appendHistory(log: log)
#elseif QA
Analytics.logEvent(log.name, parameters: log.params)
LogHistoryStorage.shared.appendHistory(log: log)
#else
Analytics.logEvent(log.name, parameters: log.params)
#endif
let message = """
\(log.name) logged
Expand Down

0 comments on commit afcb8e2

Please sign in to comment.