Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConsoleLogger ¶
func NewConsoleLogger() *consoleLogger
func NewFileLogger ¶
func NewFileLogger(conf FileLoggerConfig) *fileLogger
Types ¶
type FileLoggerConfig ¶
type LogLevel ¶
type LogLevel int
LogLevel 日志层级枚举
const ( DEBUG LogLevel //dev INFO //基础信息型 ERROR //错误型 )
Click to show internal directories.
Click to hide internal directories.