Documentation ¶
Index ¶
- Variables
- func Debug(args ...interface{})
- func Error(args ...interface{})
- func Fatal(args ...interface{})
- func Fatalln(args ...interface{})
- func Info(args ...interface{})
- func InitLog()
- func NewColorfulLogger() *logrus.Logger
- func NewFileLogger(filePath string) *logrus.Logger
- func Print(args ...interface{})
- func Warn(args ...interface{})
- func Warning(args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 公开的 控制台日志对象 StdoutLogger *logrus.Logger // 公开的 文件日志对象 FileLogger *logrus.Logger )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.