Fix typo in docs for New()

This commit is contained in:
Albert Nigmatzianov 2017-09-02 15:03:37 +05:00 committed by GitHub
parent 89742aefa4
commit 1fb8c53680
1 changed files with 1 additions and 1 deletions

View File

@ -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),