Enum Severity (3.5.3)

public enum Severity extends Enum<Severity>

The severity of the event described in a log entry. These guideline severity levels are ordered, with numerically smaller levels treated as less severe than numerically larger levels. If the source of the log entries uses a different set of severity levels, the client should select the closest corresponding Severity value.

Fields

NameDescription
ALERT

A person must take an action immediately.

CRITICAL

Critical events cause more severe problems or brief outages.

DEBUG

Debug or trace information.

DEFAULT

The log entry has no assigned severity level.

EMERGENCY

One or more systems are unusable.

ERROR

Error events are likely to cause problems.

INFO

Routine information, such as ongoing status or performance.

NOTICE

Normal but significant events, such as start up, shut down, or configuration.

WARNING

Warning events might cause problems.

Methods

NameDescription
valueOf(String name)
values()