diff --git a/Split/Common/Utils/Logger.swift b/Split/Common/Utils/Logger.swift index 0bf30d2c..32f41ff6 100644 --- a/Split/Common/Utils/Logger.swift +++ b/Split/Common/Utils/Logger.swift @@ -6,6 +6,7 @@ // import Foundation +import os.log struct TimeChecker { @@ -66,7 +67,7 @@ protocol LogPrinter { class DefaultLogPrinter: LogPrinter { func stdout(_ items: Any...) { - print(items) + os_log("%@", type: .default, items.map { "\($0)" }.joined(separator: " ")) } }