@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum LogSeverity extends java.lang.Enum<LogSeverity>
Enum Constant and Description |
---|
DEBUG
This severity should be used for the most verbose types of messages which
should only be used when debugging a problem.
|
FATAL_ERROR
This severity should be used for messages about the most severe types of
errors which may prevent the server from continuing to function.
|
INFO
This severity should be used for informational messages about general
processing occurring within the server which may be helpful when
troubleshooting but are not necessarily important enough to make available
to administrators under normal conditions.
|
MILD_ERROR
This severity should be used for messages about errors which may interfere
with the processing of the task at hand, but should not have any lasting
impact on the overall operation of the server.
|
MILD_WARNING
This severity should be used for messages about warning conditions which
may lead to problems which could interfere with the processing of the
task at hand.
|
NOTICE
This severity should be used for messages about significant events that
occur within the server which may provide administrators with valuable
information about the operation of the server.
|
SEVERE_ERROR
This severity should be used for messages about severe errors which may
interfere with the function of the server.
|
SEVERE_WARNING
This severity should be used for messages about warning conditions which
may lead to problems which could interfere with the operation of the
server.
|
Modifier and Type | Method and Description |
---|---|
static LogSeverity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogSeverity FATAL_ERROR
public static final LogSeverity SEVERE_ERROR
public static final LogSeverity MILD_ERROR
public static final LogSeverity SEVERE_WARNING
public static final LogSeverity MILD_WARNING
public static final LogSeverity NOTICE
public static final LogSeverity INFO
public static final LogSeverity DEBUG
public static LogSeverity[] values()
for (LogSeverity c : LogSeverity.values()) System.out.println(c);
public static LogSeverity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null