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...)
|
DefaultLogger.Logf(level, format, v...)
|
||||||
}
|
}
|
||||||
|
|
||||||
func SetGlobalLevel(lvl Level) {
|
|
||||||
if err := Init(WithLevel(lvl)); err != nil {
|
|
||||||
print(err)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func String() string {
|
func String() string {
|
||||||
return DefaultLogger.String()
|
return DefaultLogger.String()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user