We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e5d317 commit ff7e857Copy full SHA for ff7e857
1 file changed
Sources/LogKit/LogKit.swift
@@ -116,7 +116,7 @@ public enum Log {
116
public static func error(_ error: Error) {
117
guard enabledLogging.contains(.error) else { return }
118
let logger = Logger(subsystem: subsystem, category: Category.error.rawValue)
119
- logger.debug("\(error.localizedDescription)")
+ logger.error("\(error.localizedDescription)")
120
}
121
122
public static func database(_ string: String) {
0 commit comments