aboutsummaryrefslogtreecommitdiff
path: root/utils/log/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'utils/log/log.go')
-rw-r--r--utils/log/log.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/utils/log/log.go b/utils/log/log.go
index e5c0b21c..0634bde6 100644
--- a/utils/log/log.go
+++ b/utils/log/log.go
@@ -16,6 +16,10 @@ func init() {
logger.SetLogger("console", "")
}
+func Trace(format string, v ...interface{}) {
+ logger.Trace(format, v...)
+}
+
func Info(format string, v ...interface{}) {
logger.Info(format, v...)
}
@@ -27,3 +31,7 @@ func Error(format string, v ...interface{}) {
func Warn(format string, v ...interface{}) {
logger.Warn(format, v...)
}
+
+func Critical(format string, v ...interface{}) {
+ logger.Critical(format, v...)
+}