mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-29 17:10:00 -07:00
Merge pull request #354 from mrd0ll4r/fix-debug
pkg/log: fix debug logging
This commit is contained in:
@@ -17,6 +17,7 @@ var (
|
||||
// SetDebug controls debug logging.
|
||||
func SetDebug(to bool) {
|
||||
debug = to
|
||||
l.Level = logrus.DebugLevel
|
||||
}
|
||||
|
||||
// SetFormatter sets the formatter.
|
||||
|
||||
Reference in New Issue
Block a user