Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetLevelByName func(string) Level
GetLevelByName 过日志级别名称获取日志级别
View Source
var LogNameMap = map[Level]string{ LevelEmerg: "emerg", LevelAlter: "alert", LevelCrit: "crit", LevelError: "error", LevelWarning: "warning", LevelNotice: "notice", LevelInfo: "info", LevelDebug: "debug", }
LogNameMap 日志级别映射
Functions ¶
func LevelGetter ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.