new - loglevel (#612)

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

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