Documentation ¶
Index ¶
Constants ¶
View Source
const ( LogLevelAll = iota LogLevelDebug LogLevelInfo LogLevelError )
Variables ¶
This section is empty.
Functions ¶
func UseConsoleAppender ¶
func UseConsoleAppender(level int)
@title UseConsoleAppender @description 设置日志输出到标准输出,建议程序启动时设置,程序默认输出到标准输出 @param level 日志级别
func UseRollingFileAppender ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.