1
0
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:
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()
}