mirror of https://github.com/fluffle/goirc
Don't change the depth of golog's default logger. Not cool, man!
This commit is contained in:
parent
97dedfdf5e
commit
4396b459a2
|
@ -9,7 +9,7 @@ import (
|
|||
// Just import this package alongside goirc/client and call
|
||||
// golog.Init() in your main() to set things up.
|
||||
func Init() {
|
||||
l := log.InitFromFlags()
|
||||
l := log.NewFromFlags()
|
||||
l.SetDepth(1)
|
||||
logging.SetLogger(l)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue