Commit 25b3106e authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

rm logger

License: MIT
Signed-off-by: default avatarBrian Tiger Chow <brian@perfmode.com>
parent 3663eef5
......@@ -73,9 +73,8 @@ func SetupLogging() {
// SetAllLoggers changes the logging.Level of all loggers to lvl
func SetAllLoggers(lvl logging.Level) {
logging.SetLevel(lvl, "")
for n, log := range loggers {
for n, _ := range loggers {
logging.SetLevel(lvl, n)
log.Noticef("setting logger: %q to %v", n, lvl)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment