mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
strip SetGlobalLevel (#1228)
This commit is contained in:
parent
3fa7c26946
commit
ee977acfef
@ -44,12 +44,6 @@ func Logf(level Level, format string, v ...interface{}) {
|
||||
DefaultLogger.Logf(level, format, v...)
|
||||
}
|
||||
|
||||
func SetGlobalLevel(lvl Level) {
|
||||
if err := Init(WithLevel(lvl)); err != nil {
|
||||
print(err)
|
||||
}
|
||||
}
|
||||
|
||||
func String() string {
|
||||
return DefaultLogger.String()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user