Merge pull request #354 from mrd0ll4r/fix-debug

pkg/log: fix debug logging
This commit is contained in:
mrd0ll4r
2017-09-03 20:55:26 +02:00
committed by GitHub

View File

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