feat:完善项目
This commit is contained in:
@ -2,6 +2,14 @@ package logger
|
||||
|
||||
import "github.com/sirupsen/logrus"
|
||||
|
||||
func Info(args ...interface{}) {
|
||||
logger.Log(logrus.InfoLevel, args...)
|
||||
}
|
||||
|
||||
func InfoF(format string, args ...interface{}) {
|
||||
logger.Logf(logrus.InfoLevel, format, args...)
|
||||
}
|
||||
|
||||
func Warn(args ...interface{}) {
|
||||
logger.Log(logrus.WarnLevel, args...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user