new - loglevel (#612)
This commit is contained in:
1 parent
97925eeebe
commit
5188d516e3
10 files changed
+50
-20
No files matched your search
@@ -84,3 +84,15 @@ func Errorf(format string, args ...interface{}) {
|
||||
logger.Errorf(format, args...)
|
||||
}
|
||||
}
|
||||
|
||||
func Notice(args ...interface{}) {
|
||||
if logger != nil {
|
||||
logger.Notice(args...)
|
||||
}
|
||||
}
|
||||
|
||||
func Noticef(format string, args ...interface{}) {
|
||||
if logger != nil {
|
||||
logger.Noticef(format, args...)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user