Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level interface { // String returns the level as a string String() string // Int returns the level as an int Int() int }
Level interface describes the behavior that a log level should have
It must provide methods to be casted as a string or as an int
var ( // Trace represents log level 0 Trace Level = lTrace // Debug represents log level 1 Debug Level = lDebug // Info represents log level 2 Info Level = lInfo // Warn represents log level 3 Warn Level = lWarn // Error represents log level 4 Error Level = lError // Fatal represents log level 5 Fatal Level = lFatal )
Click to show internal directories.
Click to hide internal directories.