feat:完善信息,增加socket

This commit is contained in:
henry
2022-01-27 14:50:52 +08:00
parent 0368be6f11
commit 4ae37b9b4d
30 changed files with 325 additions and 92 deletions

View File

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