mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Track all errors in Sentry
This commit is contained in:
@@ -32,7 +32,7 @@ class PrintLogger: LoggerProtocol {
|
||||
static func warning(_ message: @autoclosure () -> Any, _ file: String = #file, _ function: String = #function, line: Int = #line, context: Any? = nil) {
|
||||
print(message())
|
||||
}
|
||||
static func error(_ message: @autoclosure () -> Any, _ file: String = #file, _ function: String = #function, line: Int = #line, context: Any? = nil) {
|
||||
static func error(_ message: @autoclosure () -> StaticString, _ file: String = #file, _ function: String = #function, line: Int = #line, context: Any? = nil) {
|
||||
print(message())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user