strip SetGlobalLevel (#1228)

This commit is contained in:
Asim Aslam 2020-02-21 08:28:21 +00:00 committed by GitHub
parent 3fa7c26946
commit ee977acfef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()
}