package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
Newf generates a Notice with a format string.
NewWithSeverityf generates a Notice with a format string and severity.
ParseDisplaySeverity translates a string to a DisplaySeverity.
ValidDisplaySeverities returns a list of all valid severities.
# Constants
DisplaySeverityDebug1 is a DisplaySeverity value allowing all notices of value <= DisplaySeverityDebug1 to display.
DisplaySeverityDebug2 is a DisplaySeverity value allowing all notices of value <= DisplaySeverityDebug2 to display.
DisplaySeverityDebug3 is a DisplaySeverity value allowing all notices of value <= DisplaySeverityDebug3 to display.
DisplaySeverityDebug4 is a DisplaySeverity value allowing all notices of value <= DisplaySeverityDebug4 to display.
DisplaySeverityDebug5 is a DisplaySeverity value allowing all notices of value <= DisplaySeverityDebug5 to display.
DisplaySeverityError is a DisplaySeverity value allowing all notices of value <= DisplaySeverityError to display.
DisplaySeverityInfo is a DisplaySeverity value allowing all notices of value <= DisplaySeverityInfo to display.
DisplaySeverityLog is a DisplaySeverity value allowing all notices of value <= DisplaySeverityLog to display.
DisplaySeverityNotice is a DisplaySeverity value allowing all notices of value <= DisplaySeverityNotice to display.
DisplaySeverityWarning is a DisplaySeverity value allowing all notices of value <= DisplaySeverityWarning to display.
# Type aliases
DisplaySeverity indicates the severity of a given error for the purposes of displaying notices.
Notice is an wrapper around errors that are intended to be notices.