mirror of
https://github.com/LBRYFoundation/tracker.git
synced 2025-08-23 17:47:29 +00:00
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.
|
// 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…
Add table
Reference in a new issue