mirror of https://github.com/sirupsen/logrus.git
Update doc for new logger
Update default formatter for new logger from JsonFormatter to TextFormatter
This commit is contained in:
parent
20dcf91051
commit
630ea450e6
|
@ -75,7 +75,7 @@ func (mw *MutexWrap) Disable() {
|
||||||
//
|
//
|
||||||
// var log = &logrus.Logger{
|
// var log = &logrus.Logger{
|
||||||
// Out: os.Stderr,
|
// Out: os.Stderr,
|
||||||
// Formatter: new(logrus.JSONFormatter),
|
// Formatter: new(logrus.TextFormatter),
|
||||||
// Hooks: make(logrus.LevelHooks),
|
// Hooks: make(logrus.LevelHooks),
|
||||||
// Level: logrus.DebugLevel,
|
// Level: logrus.DebugLevel,
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in New Issue