diff --git a/Sources/JoyfillUI/Extensions/JoyfillLogger.swift b/Sources/JoyfillUI/Extensions/JoyfillLogger.swift index 7ef9c0f3..573a31ce 100644 --- a/Sources/JoyfillUI/Extensions/JoyfillLogger.swift +++ b/Sources/JoyfillUI/Extensions/JoyfillLogger.swift @@ -67,6 +67,7 @@ public func Log( file: String = #file, line: Int = #line ) { + #if DEBUG JoyfillLogger.shared.log( message, type: type, @@ -74,4 +75,5 @@ public func Log( file: file, line: line ) + #endif }