Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level string
Level defines the level of a log.Entry
const ( // LevelDebug denotes typical debug log entries LevelDebug Level = "DEBUG" // LevelInfo denotes just informational log entries LevelInfo Level = "INFO " // LevelWarn denotes warnings, which are not as critical as errors. LevelWarn Level = "WARN " // LevelError denotes errors on which the system keeps on running but action should be taken. LevelError Level = "ERROR" // LevelFatal denotes fatal errors in which the system should panic immediately LevelFatal Level = "FATAL" // LevelAccess denotes http-access messages LevelAccess Level = "ACCSS" // LevelImportant denotes important messages, which may be handled separately from usual INFO messages LevelImportant Level = "IMPNT" )
Click to show internal directories.
Click to hide internal directories.