mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-13 12:08:11 -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.
|
// 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user