new - loglevel (#612)

This commit is contained in:
Ho3ein authored and GitHub committed 2023-06-16 18:25:33 +03:30
1 parent 97925eeebe
commit 5188d516e3
10 files changed
+50 -20

No files matched your search

+12
View File
@@ -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...)
}
}