mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351 * Replaced NSLog() and print() usages with MXLog.debug() * Added swiftlint rules for NSLog(), print(), println() and os_log() * Escape paths used to run script build phases for swiftlint and swiftgen
This commit is contained in:
@@ -151,7 +151,7 @@ final class JitsiService: NSObject {
|
||||
authType = jitsiWellKnown.authenticationType
|
||||
continueOperation = true
|
||||
case .failure(let error):
|
||||
NSLog("[JitsiService] Fail to get Jitsi Well Known with error: \(error)")
|
||||
MXLog.debug("[JitsiService] Fail to get Jitsi Well Known with error: \(error)")
|
||||
if let error = error as? JitsiServiceError, error == .noWellKnown {
|
||||
// no well-known, continue with no auth
|
||||
continueOperation = true
|
||||
@@ -251,7 +251,7 @@ final class JitsiService: NSObject {
|
||||
roomID: String,
|
||||
isAudioOnly: Bool) -> [String: Any]? {
|
||||
guard MXTools.isMatrixRoomIdentifier(roomID) else {
|
||||
NSLog("[JitsiService] createJitsiWidgetContent the roomID is not valid")
|
||||
MXLog.debug("[JitsiService] createJitsiWidgetContent the roomID is not valid")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user