Skip to content

Commit

Permalink
rm logger
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
  • Loading branch information
Brian Tiger Chow committed Nov 15, 2014
1 parent aaba9bb commit 682d2ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions util/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 682d2ba

Please sign in to comment.