mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-26 03:20:50 +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:
@@ -168,7 +168,7 @@ final class KeyVerificationCoordinator: KeyVerificationCoordinatorType {
|
||||
// In the case of the complete security flow, come back to the root screen if any child flow
|
||||
// like device verification has been cancelled
|
||||
if self.completeSecurityCoordinator != nil && childCoordinators.count > 1 {
|
||||
NSLog("[KeyVerificationCoordinator] didCancel: popToRootModule")
|
||||
MXLog.debug("[KeyVerificationCoordinator] didCancel: popToRootModule")
|
||||
self.navigationRouter.popToRootModule(animated: true)
|
||||
return
|
||||
}
|
||||
@@ -307,7 +307,7 @@ extension KeyVerificationCoordinator: KeyVerificationDataLoadingCoordinatorDeleg
|
||||
if let sasTransaction = transaction as? MXSASTransaction {
|
||||
self.showVerifyBySAS(transaction: sasTransaction, animated: true)
|
||||
} else {
|
||||
NSLog("[KeyVerificationCoordinator] Transaction \(transaction) is not supported")
|
||||
MXLog.debug("[KeyVerificationCoordinator] Transaction \(transaction) is not supported")
|
||||
self.didCancel()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user