summaryrefslogtreecommitdiffstats
path: root/matterclient/matterclient.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-22 22:57:34 +0100
committerWim <wim@42.be>2018-02-22 22:57:34 +0100
commitc5ecd091729930e7c2e0c37472cd7738e1c2c495 (patch)
tree1fc18827b209c6ecc6fb06e63b281a9d215b4062 /matterclient/matterclient.go
parent7b21c1c2f422241cf2f3a8738e48e70bdcd6100e (diff)
downloadmatterbridge-msglm-c5ecd091729930e7c2e0c37472cd7738e1c2c495.tar.gz
matterbridge-msglm-c5ecd091729930e7c2e0c37472cd7738e1c2c495.tar.bz2
matterbridge-msglm-c5ecd091729930e7c2e0c37472cd7738e1c2c495.zip
Use always formatted logging when debug is enabled
Diffstat (limited to 'matterclient/matterclient.go')
-rw-r--r--matterclient/matterclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matterclient/matterclient.go b/matterclient/matterclient.go
index 27e96163..f539a76d 100644
--- a/matterclient/matterclient.go
+++ b/matterclient/matterclient.go
@@ -81,7 +81,7 @@ func New(login, pass, team, server string) *MMClient {
}
func (m *MMClient) SetDebugLog() {
- log.SetFormatter(&prefixed.TextFormatter{PrefixPadding: 13, DisableColors: true, FullTimestamp: false})
+ log.SetFormatter(&prefixed.TextFormatter{PrefixPadding: 13, DisableColors: true, FullTimestamp: false, ForceFormatting: true})
}
func (m *MMClient) SetLogLevel(level string) {