Skip to content

Commit

Permalink
Merge pull request sirupsen#633 from bogem/patch-1
Browse files Browse the repository at this point in the history
Fix typos in docs for New()
  • Loading branch information
markphelps authored Feb 26, 2020
2 parents f5c36a2 + ea3ae64 commit d28efc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ 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),
// Formatter: new(logrus.JSONFormatter),
// Hooks: make(logrus.LevelHooks),
// Level: logrus.DebugLevel,
// }
//
Expand Down

0 comments on commit d28efc3

Please sign in to comment.