Skip to content

Commit

Permalink
Update doc for new logger
Browse files Browse the repository at this point in the history
Update default formatter for new logger from JsonFormatter to TextFormatter
  • Loading branch information
sohel-sheikh authored May 26, 2020
1 parent 20dcf91 commit 630ea45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func (mw *MutexWrap) Disable() {
//
// var log = &logrus.Logger{
// Out: os.Stderr,
// Formatter: new(logrus.JSONFormatter),
// Formatter: new(logrus.TextFormatter),
// Hooks: make(logrus.LevelHooks),
// Level: logrus.DebugLevel,
// }
Expand Down

0 comments on commit 630ea45

Please sign in to comment.