diff --git a/Sources/HydrogenReporter/Logger.swift b/Sources/HydrogenReporter/Logger.swift index 1337e9e..4b83bd9 100644 --- a/Sources/HydrogenReporter/Logger.swift +++ b/Sources/HydrogenReporter/Logger.swift @@ -189,9 +189,11 @@ public class Logger: ObservableObject { appendLog(log: item, description: desc) os_log(.info, "%{public}s", desc) case .debug: + #if DEBUG let desc = item.description appendLog(log: item, description: desc) os_log(.debug, "%{public}s", desc) + #endif } }