Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FatalLevel level. Logs and then calls `logger.Exit(1)`. It will exit even if the // logging level is set to Panic. FATAL_LEVEL int = iota // ErrorLevel level. Logs. Used for errors that should definitely be noted. // Commonly used for hooks to send errors to an error tracking service. ERROR_LEVEL // WarnLevel level. Non-critical entries that deserve eyes. WARN_LEVEL // InfoLevel level. General operational entries about what's going on inside the // application. INFO_LEVEL // DebugLevel level. Usually only enabled when debugging. Very verbose logging. DEBUG_LEVEL )
The severity levels. Higher values are more considered more important.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
Configuration - options for logger
func (*Configuration) Validate ¶
func (c *Configuration) Validate() error
Click to show internal directories.
Click to hide internal directories.