summaryrefslogtreecommitdiffstats
path: root/bridge/telegram
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-21 00:20:25 +0100
committerWim <wim@42.be>2018-02-21 00:20:25 +0100
commitd1227b5fc9de9f7a04fbf71292dd224aa8806411 (patch)
tree58d632c586fc3fc13783950f11265552f0f11dd5 /bridge/telegram
parent6ea368c383ccc19678623c51d8e4ecbbdb0a64ac (diff)
downloadmatterbridge-msglm-d1227b5fc9de9f7a04fbf71292dd224aa8806411.tar.gz
matterbridge-msglm-d1227b5fc9de9f7a04fbf71292dd224aa8806411.tar.bz2
matterbridge-msglm-d1227b5fc9de9f7a04fbf71292dd224aa8806411.zip
Use prefixed-formatter for better logging
Diffstat (limited to 'bridge/telegram')
-rw-r--r--bridge/telegram/telegram.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/telegram/telegram.go b/bridge/telegram/telegram.go
index 63853578..e411690c 100644
--- a/bridge/telegram/telegram.go
+++ b/bridge/telegram/telegram.go
@@ -21,7 +21,7 @@ var flog *log.Entry
var protocol = "telegram"
func init() {
- flog = log.WithFields(log.Fields{"module": protocol})
+ flog = log.WithFields(log.Fields{"prefix": protocol})
}
func New(cfg *config.BridgeConfig) *Btelegram {