Documentation ¶
Index ¶
Constants ¶
View Source
const ( // CatTrace is the level for trace messages CatTrace = iota // CatDebug is the level for debug messages CatDebug // CatInfo is the level for info messages CatInfo // CatWarn is the level for warn messages CatWarn // CatError is the level for error messages CatError // CatFatal is the level for fatal messages CatFatal )
Variables ¶
View Source
var CurrentConfig = Config{ MinLevel: CatTrace, MaxLevel: CatFatal, Timestamp: true, TimestampFormat: "%02d:%02d:%02d.%03d | ", Category: true, CategoryFormat: "% 5s | ", }
CurrentConfig is the configuration currently used for logging
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.