Skip to content

Commit

Permalink
Service should log everything on stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiede committed Jan 22, 2022
1 parent 9168573 commit 9b2228e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Sources/Bedrockifier/Foundation/ConsoleLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,7 @@ private struct LoggingOutputStream: TextOutputStream {
public static let stdErr = LoggingOutputStream(stderr)

public static func appropriateStream(for level: Logger.Level) -> LoggingOutputStream {
if level >= .error {
return LoggingOutputStream.stdErr
} else {
return LoggingOutputStream.stdOut
}
return LoggingOutputStream.stdErr
}

private let outStr: UnsafeMutablePointer<FILE>
Expand Down

0 comments on commit 9b2228e

Please sign in to comment.