Returns true
if this Severity
has ALERT_LEVEL
of importance.
Returns true
if this Severity
has DEBUG_LEVEL
of importance.
Returns true
if this Severity
has ERROR_LEVEL
of importance.
Returns true
if this Severity
has FATAL_LEVEL
of importance.
Returns true
if this Severity
has INFO_LEVEL
of importance.
Returns true
if this Severity
has NOTE_LEVEL
of importance.
Returns true
if this Severity
has TRACE_LEVEL
of importance.
Returns true
if this Severity
has WARNING_LEVEL
of importance.
Returns a descriptive label for this Severity
.
Returns a new Severity
with the same level as this Severity
, but with
a new descriptive label
.
Returns the integer level of importance of this Severity
, with higher
levels signifying greater importance.
an integer between 0
and 7
, inclusive. One of TRACE_LEVEL
,
DEBUG_LEVEL
, INFO_LEVEL
, NOTE_LEVEL
, WARNING_LEVEL
,
ERROR_LEVEL
, ALERT_LEVEL
, FATAL_LEVEL
.
Returns a Severity
with ALERT_LEVEL
of importance, and an optional
descriptive label
.
Returns a Severity
with the given importance level
, and optional
descriptive label
.
Returns a Severity
with DEBUG_LEVEL
of importance, and an optional
descriptive label
.
Returns a Severity
with ERROR_LEVEL
of importance, and an optional
descriptive label
.
Returns a Severity
with FATAL_LEVEL
of importance, and an optional
descriptive label
.
Returns a Severity
with INFO_LEVEL
of importance, and an optional
descriptive label
.
Returns a Severity
with NOTE_LEVEL
of importance, and an optional
descriptive label
.
Returns a Severity
with TRACE_LEVEL
of importance, and an optional
descriptive label
.
Returns a Severity
with WARNING_LEVEL
of importance, and an optional
descriptive label
.
Level of importance. Used for log levels and diagnostic classifications.