pkg/log: fix debug logging
This commit is contained in:
parent
4f4495f0f3
commit
13857d5bce
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue