Add configurable logger for RiotSwiftUI

This commit is contained in:
David Langley
2021-09-09 22:42:00 +01:00
parent d157f1b68d
commit eaedefa3c2
9 changed files with 193 additions and 10 deletions
@@ -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() {