diff options
author | Wim <wim@42.be> | 2018-02-21 00:20:25 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-02-21 00:20:25 +0100 |
commit | d1227b5fc9de9f7a04fbf71292dd224aa8806411 (patch) | |
tree | 58d632c586fc3fc13783950f11265552f0f11dd5 /bridge/api/api.go | |
parent | 6ea368c383ccc19678623c51d8e4ecbbdb0a64ac (diff) | |
download | matterbridge-msglm-d1227b5fc9de9f7a04fbf71292dd224aa8806411.tar.gz matterbridge-msglm-d1227b5fc9de9f7a04fbf71292dd224aa8806411.tar.bz2 matterbridge-msglm-d1227b5fc9de9f7a04fbf71292dd224aa8806411.zip |
Use prefixed-formatter for better logging
Diffstat (limited to 'bridge/api/api.go')
-rw-r--r-- | bridge/api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/api/api.go b/bridge/api/api.go index 6055cd5c..cbea9eee 100644 --- a/bridge/api/api.go +++ b/bridge/api/api.go @@ -30,7 +30,7 @@ var flog *log.Entry var protocol = "api" func init() { - flog = log.WithFields(log.Fields{"module": protocol}) + flog = log.WithFields(log.Fields{"prefix": protocol}) } func New(cfg *config.BridgeConfig) *Api { |