mirror of https://github.com/sirupsen/logrus.git
Fix typo in docs for New()
This commit is contained in:
parent
89742aefa4
commit
1fb8c53680
|
@ -58,7 +58,7 @@ func (mw *MutexWrap) Disable() {
|
|||
// `Out` and `Hooks` directly on the default logger instance. You can also just
|
||||
// instantiate your own:
|
||||
//
|
||||
// var log = &Logger{
|
||||
// var log = &logrus.Logger{
|
||||
// Out: os.Stderr,
|
||||
// Formatter: new(JSONFormatter),
|
||||
// Hooks: make(LevelHooks),
|
||||
|
|
Loading…
Reference in New Issue