1
0
Fork 0
mirror of https://github.com/fluffle/goirc synced 2025-05-12 18:44:50 +00:00

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

View file

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