Skip to content

Commit

Permalink
Skip logger announcement on startup.
Browse files Browse the repository at this point in the history
Announcement may pollute stdin and doesn't give the user a chance to configure it differently.
  • Loading branch information
snowzach authored and birkirb committed Aug 29, 2018
1 parent 5deefcd commit 2ec57cf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mappers/stdlib/stdlib.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ func NewDefaultLogger() loggers.Contextual {
g.logger = log.New(os.Stderr, "", log.Ldate|log.Ltime)

a := mappers.NewContextualMap(&g)
a.Debug("Now using Go's stdlib log package (via loggers/mappers/stdlib).")

return a
}
Expand All @@ -33,7 +32,6 @@ func NewLogger(l *log.Logger) loggers.Contextual {
g.logger = l

a := mappers.NewContextualMap(&g)
a.Debug("Now using Go's stdlib log package (via loggers/mappers/stdlib).")

return a
}
Expand Down

0 comments on commit 2ec57cf

Please sign in to comment.