Documentation ¶
Overview ¶
Package logger contains logger configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level string
const ( // OffLevel disables logging. OffLevel Level = "off" // ErrorLevel level. Logs. Used for errors that should definitely be noted. // Commonly used for hooks to send errors to an error tracking service. ErrorLevel Level = "error" // WarnLevel level. Non-critical entries that deserve eyes. WarnLevel Level = "warn" // InfoLevel level. General operational entries about what's going on inside the // application. InfoLevel Level = "info" // DebugLevel level. Usually only enabled when debugging. Very verbose logging. DebugLevel Level = "debug" // TraceLevel level. Designates finer-grained informational events than the Debug. TraceLevel Level = "trace" )
Click to show internal directories.
Click to hide internal directories.