Documentation ¶
Index ¶
Constants ¶
View Source
const ( SeverityDisabled = "disabled" SeverityEmergency = "emergency" SeverityAlert = "alert" SeverityCritical = "critical" SeverityError = "error" SeverityWarning = "warning" SeverityNotice = "notice" SeverityInformational = "informational" SeverityDebug = "debug" )
Variables ¶
This section is empty.
Functions ¶
func ParseSeverity ¶
ParseSeverity takes a string and returns a constant `Severity` value. Common aliases such as `warn` and `info` are included.
func SeverityInclude ¶
SeverityInclude checks to see if a severity level is included against a certain severity filter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.