Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultLoggerLevel = WarnLevel
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level int8
const ( // DebugLevel logs are typically voluminous, and are usually disabled in production. DebugLevel Level = iota // InfoLevel is the default logging priority. InfoLevel // WarnLevel logs are more important than Info, but don't need individual human review. WarnLevel // ErrorLevel logs are high-priority. If an application is running smoothly, it shouldn't generate any error logs. ErrorLevel // FatalLevel logs a message, then calls os.Exit(1). FatalLevel // TraceLevel logs are typically voluminous, and are usually disabled in production. TraceLevel Level = -1 )
Click to show internal directories.
Click to hide internal directories.