add SetLogLevelByName
This commit is contained in:
parent
6126b66f6a
commit
ec1b3b298f
@ -25,10 +25,14 @@ func Cleanup() {
|
||||
}
|
||||
}
|
||||
|
||||
func SetLogLevel(newlv logLevel) (oldlv logLevel) {
|
||||
func SetLogLevel(newlv LogLevel) (oldlv LogLevel) {
|
||||
return mylog.SetLogLevel(newlv)
|
||||
}
|
||||
|
||||
func SetLogLevelByName(newlv string) (oldlv string) {
|
||||
return mylog.SetLogLevelByName(newlv)
|
||||
}
|
||||
|
||||
func PrintPretty(prefix string, v interface{}) {
|
||||
mylog.PrintPretty(prefix, v)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user