From 4396b459a24b7f888a843e919fc27522261772af Mon Sep 17 00:00:00 2001 From: Alex Bramley Date: Fri, 2 Jan 2015 15:07:17 +0000 Subject: [PATCH] Don't change the depth of golog's default logger. Not cool, man! --- logging/golog/golog.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging/golog/golog.go b/logging/golog/golog.go index 4e2cca8..5b12492 100644 --- a/logging/golog/golog.go +++ b/logging/golog/golog.go @@ -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) }