diff --git a/log/log.go b/log/log.go index 283d54fe8..cd84cc8b8 100644 --- a/log/log.go +++ b/log/log.go @@ -104,7 +104,7 @@ func Errorf(format string, v ...interface{}) { logger.Output(calldepth, header("ERROR", fmt.Sprintf(format, v...))) } -func Warning(format string, v ...interface{}) { +func Warning(v ...interface{}) { logger.Output(calldepth, header("WARN", fmt.Sprint(v...))) }