mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-23 17:53:05 +02:00
Fix util/log/log.Infof format didn't work (#2160)
Co-authored-by: Cui Gang <cuigang@yunpbx.com>
This commit is contained in:
parent
1b5d372b5b
commit
9e9157d878
@ -117,7 +117,7 @@ func Logf(format string, v ...interface{}) {
|
||||
if len(prefix) > 0 {
|
||||
format = prefix + " " + format
|
||||
}
|
||||
nlog.DefaultLogger.Log(levelToLevel(level), format, v)
|
||||
nlog.DefaultLogger.Logf(levelToLevel(level), format, v)
|
||||
}
|
||||
|
||||
// WithLevel logs with the level specified
|
||||
|
Loading…
x
Reference in New Issue
Block a user