1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-18 22:17:44 +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

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