diff --git a/ElementX/Sources/Other/Benchmark.swift b/ElementX/Sources/Other/Benchmark.swift index 37ebdf93d..68a30b897 100644 --- a/ElementX/Sources/Other/Benchmark.swift +++ b/ElementX/Sources/Other/Benchmark.swift @@ -22,9 +22,7 @@ struct Benchmark { trackingIdentifiers[identifier] = startTime if let message = message { - MXLog.verbose("⏰ Tracking \(identifier). \(message).") - } else { - MXLog.verbose("⏰ Tracking \(identifier).") + MXLog.verbose("⏰ \(message).") } } @@ -40,9 +38,9 @@ struct Benchmark { let elapsedTime = CFAbsoluteTimeGetCurrent() - start if let message = message { - MXLog.verbose("⏰ Tracking \(identifier). \(message). Elapsed time: \(elapsedTime.round(to: 4)) seconds.") + MXLog.verbose("⏰ \(message). Elapsed time: \(elapsedTime.round(to: 4)) seconds.") } else { - MXLog.verbose("⏰ Tracking \(identifier). Elapsed time: \(elapsedTime.round(to: 4)) seconds.") + MXLog.verbose("⏰ Elapsed time: \(elapsedTime.round(to: 4)) seconds.") } } diff --git a/ElementX/Sources/Other/MXLog.swift b/ElementX/Sources/Other/MXLog.swift index d9921e12c..f813762c1 100644 --- a/ElementX/Sources/Other/MXLog.swift +++ b/ElementX/Sources/Other/MXLog.swift @@ -151,7 +151,7 @@ private var logger: SwiftyBeaver.Type = { let consoleDestination = ConsoleDestination() consoleDestination.useNSLog = true consoleDestination.asynchronously = false - consoleDestination.format = "$N.$F:$l $M" + consoleDestination.format = "$M" consoleDestination.levelColor.verbose = "" consoleDestination.levelColor.debug = "" consoleDestination.levelColor.info = ""