Skip to content

Commit 3ea7d24

Browse files
committed
check all platform versions
1 parent 08571f1 commit 3ea7d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Print/Print.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public extension Stuff {
7474
let output: String = object is Error ? "\((object as! Error).localizedDescription)\(traceOutput)" : "\(object)"
7575
let logText = "\n\(level.description()) .\(level)\(dateFormatter.string(from: Foundation.Date())) 📱 \(process.processName) [\(process.processIdentifier):\(threadId)] 📂 \(file)(\(line)) ⚙️ \(funcname) ➡️\r\t\(output)"
7676
if Stuff.minimumLogLevel == .productionLogAll || level == .productionLogAll {
77-
if #available(iOS 10.0, *) {
77+
if #available(iOS 10.0, macOS 10.12, tvOS 10.0, watchOS 3 , *) {
7878
let log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "Stuff")
7979
os_log("%{public}@", log: log, logText)
8080
} else {

0 commit comments

Comments
 (0)