Don't change the depth of golog's default logger. Not cool, man!

This commit is contained in:
Alex Bramley 2015-01-02 15:07:17 +00:00
parent 97dedfdf5e
commit 4396b459a2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import (
// Just import this package alongside goirc/client and call // Just import this package alongside goirc/client and call
// golog.Init() in your main() to set things up. // golog.Init() in your main() to set things up.
func Init() { func Init() {
l := log.InitFromFlags() l := log.NewFromFlags()
l.SetDepth(1) l.SetDepth(1)
logging.SetLogger(l) logging.SetLogger(l)
} }