pkg/log: fix debug logging

This commit is contained in:
Leo Balduf 2017-09-03 11:37:17 +02:00
parent 4f4495f0f3
commit 13857d5bce

View file

@ -17,6 +17,7 @@ var (
// SetDebug controls debug logging. // SetDebug controls debug logging.
func SetDebug(to bool) { func SetDebug(to bool) {
debug = to debug = to
l.Level = logrus.DebugLevel
} }
// SetFormatter sets the formatter. // SetFormatter sets the formatter.