mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 10:02:46 +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:
@@ -93,14 +93,14 @@ class RoomCreationIntroCell: MXKRoomBubbleTableViewCell {
|
||||
super.render(cellData)
|
||||
|
||||
guard let bubbleCellContentView = self.bubbleCellContentView else {
|
||||
NSLog("[RoomCreationIntroCell] Fail to load content view")
|
||||
MXLog.debug("[RoomCreationIntroCell] Fail to load content view")
|
||||
return
|
||||
}
|
||||
|
||||
guard let bubbleData = self.bubbleData,
|
||||
let viewData = self.viewData(from: bubbleData) else {
|
||||
NSLog("[RoomCreationIntroCell] Fail to render \(String(describing: cellData))")
|
||||
return
|
||||
let viewData = self.viewData(from: bubbleData) else {
|
||||
MXLog.debug("[RoomCreationIntroCell] Fail to render \(String(describing: cellData))")
|
||||
return
|
||||
}
|
||||
|
||||
bubbleCellContentView.fill(with: viewData)
|
||||
|
||||
Reference in New Issue
Block a user