|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<LogSeverity>
com.unboundid.directory.sdk.common.types.LogSeverity
@ThreadSafety(level=COMPLETELY_THREADSAFE) public enum LogSeverity
This enum defines the set of severities that may be used for error log messages.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |