Documentation ¶
Index ¶
Constants ¶
View Source
const ( FormatJSON = "json" FormatFancy = "fancy" LevelTrace = "trace" LevelDebug = "debug" LevelInfo = "info" LevelWarn = "warn" LevelError = "error" LevelFatal = "fatal" LevelPanic = "panic" FormatContextKey LoggerContextKey = "log-format" )
Variables ¶
View Source
var ( Formats = []string{FormatJSON, FormatFancy} Levels = []string{ LevelTrace, LevelDebug, LevelInfo, LevelWarn, LevelError, LevelFatal, LevelPanic, } )
Functions ¶
Types ¶
type LoggerContextKey ¶
type LoggerContextKey string
Click to show internal directories.
Click to hide internal directories.