mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-08-12 01:08:09 +00:00
Use prefixed-formatter for better logging
This commit is contained in:
@@ -40,7 +40,7 @@ var flog *log.Entry
|
||||
var protocol = "slack"
|
||||
|
||||
func init() {
|
||||
flog = log.WithFields(log.Fields{"module": protocol})
|
||||
flog = log.WithFields(log.Fields{"prefix": protocol})
|
||||
}
|
||||
|
||||
func New(cfg *config.BridgeConfig) *Bslack {
|
||||
|
Reference in New Issue
Block a user