Skip to content

Commit d2ae9c1

Browse files
authored
Merge pull request #3 from vdka/master
Reduced availability of helper to resolve compilation errors on iOS
2 parents 4bfc8f5 + e990784 commit d2ae9c1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/LoggingOSLog/LoggingOSLog.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ public struct LoggingOSLog: LogHandler {
6464
}
6565

6666
@available(OSX 10.12, *)
67+
@available(iOS 10.0, *)
68+
@available(tvOS 10.0, *)
69+
@available(watchOS 3.0, *)
6770
extension OSLogType {
6871
static func from(loggerLevel: Logger.Level) -> Self {
6972
switch loggerLevel {

0 commit comments

Comments
 (0)