Skip to content

Commit

Permalink
iOS 14 has something called Logger now?
Browse files Browse the repository at this point in the history
  • Loading branch information
sobri909 committed Jun 28, 2020
1 parent 07b48ae commit 14c0603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Arc Mini/Managers/DebugLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class DebugLogger: LoggingFormatAndPipe.Pipe, ObservableObject {
return formatter
}()

func processLog(level: Logger.Level, message: Logger.Message, prettyMetadata: String?, file: String, function: String, line: UInt) -> String {
func processLog(level: Logging.Logger.Level, message: Logging.Logger.Message, prettyMetadata: String?, file: String, function: String, line: UInt) -> String {
if level == .error {
return String(format: "[%@] [ERROR] \(message)", self.timestampFormatter.string(from: Date()))
}
Expand Down

0 comments on commit 14c0603

Please sign in to comment.