Skip to content

Commit aa3ae85

Browse files
committed
Remove an obsolete comment
1 parent 0dde0b2 commit aa3ae85

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Sources/OSLogLogger.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,7 @@ public struct OSLogLogger : LogHandler {
153153
/* Note about os.Logger:
154154
* os.Logger has all the methods to log using the same log levels as Logging.Logger,
155155
* however it seems the core log method of os.Logger is still using OSLogType under the hood,
156-
* and thus do not have actual access to the additional log levels it provides through its API…
157-
* If we decide to use os.Logger at some point we should _probably_ use the methods provided to log at the level we want directly,
158-
* in case either Apple uses private stuff and actually logs at the given level or if Apple adds the log levels in question later. */
156+
* and thus do not have actual access to the additional log levels it provides through its API… */
159157
private static func logLevelToLogType(_ logLevel: Logging.Logger.Level) -> OSLogType {
160158
switch logLevel {
161159
case .trace: return .debug

0 commit comments

Comments
 (0)