mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +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:
@@ -570,7 +570,7 @@
|
||||
// The identity server must be defined
|
||||
if (!self.mainSession.matrixRestClient.identityServer)
|
||||
{
|
||||
NSLog(@"[StartChatViewController] Invite %@ failed", participantId);
|
||||
MXLogDebug(@"[StartChatViewController] Invite %@ failed", participantId);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -622,7 +622,7 @@
|
||||
self->roomCreationRequest = nil;
|
||||
[self stopActivityIndicator];
|
||||
|
||||
NSLog(@"[StartChatViewController] Create room failed");
|
||||
MXLogDebug(@"[StartChatViewController] Create room failed");
|
||||
|
||||
// Alert user
|
||||
[[AppDelegate theDelegate] showErrorAsAlert:error];
|
||||
@@ -754,7 +754,7 @@
|
||||
|
||||
if ([MXTools isEmailAddress:participantId])
|
||||
{
|
||||
NSLog(@"[StartChatViewController] No identity server is configured, do not add participant with email");
|
||||
MXLogDebug(@"[StartChatViewController] No identity server is configured, do not add participant with email");
|
||||
|
||||
[contactsTableViewController refreshCurrentSelectedCell:YES];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user