Add configurable logger for RiotSwiftUI

This commit is contained in:
David Langley
2021-09-09 22:42:00 +01:00
parent c80dfcd1d0
commit 59a54654b1
9 changed files with 193 additions and 10 deletions

View File

@@ -75,8 +75,7 @@ class TemplateUserProfileViewModel: ObservableObject, TemplateUserProfileViewMod
case .updatePresence(let presence):
state.presence = presence
}
// TODO: Uncomment when we have an abstract logger for RiotSwiftUI
// MXLog.debug("[TemplateUserProfileViewModel] reducer with action \(action) produced state: \(state)")
UILog.debug("[TemplateUserProfileViewModel] reducer with action \(action) produced state: \(state)")
}
private func done() {