Merge pull request #354 from mrd0ll4r/fix-debug
pkg/log: fix debug logging
This commit is contained in:
commit
464d37b2a7
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ var (
|
|||
// SetDebug controls debug logging.
|
||||
func SetDebug(to bool) {
|
||||
debug = to
|
||||
l.Level = logrus.DebugLevel
|
||||
}
|
||||
|
||||
// SetFormatter sets the formatter.
|
||||
|
|
Loading…
Reference in a new issue