Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Split/Common/Utils/Logger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//

import Foundation
import os.log

struct TimeChecker {

Expand Down Expand Up @@ -66,7 +67,7 @@ protocol LogPrinter {

class DefaultLogPrinter: LogPrinter {
func stdout(_ items: Any...) {
print(items)
os_log("%@", type: .default, items.map { "\($0)" }.joined(separator: " "))
}
}

Expand Down
Loading