mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +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:
@@ -111,13 +111,13 @@ const CGFloat kTypingCellHeight = 24;
|
||||
if (![self.mxSession.store hasLoadedAllRoomMembersForRoom:self.roomId])
|
||||
{
|
||||
[self.room members:^(MXRoomMembers *roomMembers) {
|
||||
NSLog(@"[MXKRoomDataSource] finalizeRoomDataSource: All room members have been retrieved");
|
||||
MXLogDebug(@"[MXKRoomDataSource] finalizeRoomDataSource: All room members have been retrieved");
|
||||
|
||||
// Refresh the full table
|
||||
[self.delegate dataSource:self didCellChange:nil];
|
||||
|
||||
} failure:^(NSError *error) {
|
||||
NSLog(@"[MXKRoomDataSource] finalizeRoomDataSource: Cannot retrieve all room members");
|
||||
MXLogDebug(@"[MXKRoomDataSource] finalizeRoomDataSource: Cannot retrieve all room members");
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -830,7 +830,7 @@ const CGFloat kTypingCellHeight = 24;
|
||||
|
||||
} failure:^(NSError * _Nonnull error) {
|
||||
|
||||
NSLog(@"[RoomDataSource] updateKeyVerificationIfNeededForRoomBubbleCellData; keyVerificationFromKeyVerificationEvent fails with error: %@", error);
|
||||
MXLogDebug(@"[RoomDataSource] updateKeyVerificationIfNeededForRoomBubbleCellData; keyVerificationFromKeyVerificationEvent fails with error: %@", error);
|
||||
|
||||
bubbleCellData.isKeyVerificationOperationPending = NO;
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user