Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'logger/logger.go')
-rw-r--r--logger/logger.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/logger/logger.go b/logger/logger.go
index f5b0a878..6e49c850 100644
--- a/logger/logger.go
+++ b/logger/logger.go
@@ -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...)
+ }
+}