Skip to content

Commit

Permalink
Support only Apple platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Ignition committed Jan 14, 2022
1 parent 295e981 commit 2370acd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Sources/OSLogging/OSLogHandler.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#if os(macOS) || os(iOS) || os(watchOS) || os(tvOS)

import Foundation
@_exported import Logging
@_exported import os.log
Expand Down Expand Up @@ -73,3 +75,5 @@ public struct OSLogHandler: LogHandler {
}

}

#endif

0 comments on commit 2370acd

Please sign in to comment.