Enum ErrorLogPublisherCfgDefn.DefaultSeverity
- java.lang.Object
-
- java.lang.Enum<ErrorLogPublisherCfgDefn.DefaultSeverity>
-
- org.forgerock.opendj.server.config.meta.ErrorLogPublisherCfgDefn.DefaultSeverity
-
- All Implemented Interfaces:
Serializable
,Comparable<ErrorLogPublisherCfgDefn.DefaultSeverity>
- Enclosing class:
- ErrorLogPublisherCfgDefn
public static enum ErrorLogPublisherCfgDefn.DefaultSeverity extends Enum<ErrorLogPublisherCfgDefn.DefaultSeverity>
Defines the set of permissable values for the "default-severity" property.Specifies the default severity levels for the logger.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
Messages of all severity levels are logged.DEBUG
The error log severity that is used for messages that provide debugging information triggered during processing.ERROR
The error log severity that is used for messages that provide information about errors which may force the server to shut down or operate in a significantly degraded state.INFO
The error log severity that is used for messages that provide information about significant events within the server that are not warnings or errors.NONE
No messages of any severity are logged by default.NOTICE
The error log severity that is used for the most important informational messages (i.e., information that should almost always be logged but is not associated with a warning or error condition).WARNING
The error log severity that is used for messages that provide information about warnings triggered during processing.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static ErrorLogPublisherCfgDefn.DefaultSeverity
valueOf​(String name)
Returns the enum constant of this type with the specified name.static ErrorLogPublisherCfgDefn.DefaultSeverity[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final ErrorLogPublisherCfgDefn.DefaultSeverity ALL
Messages of all severity levels are logged.
-
DEBUG
public static final ErrorLogPublisherCfgDefn.DefaultSeverity DEBUG
The error log severity that is used for messages that provide debugging information triggered during processing.
-
ERROR
public static final ErrorLogPublisherCfgDefn.DefaultSeverity ERROR
The error log severity that is used for messages that provide information about errors which may force the server to shut down or operate in a significantly degraded state.
-
INFO
public static final ErrorLogPublisherCfgDefn.DefaultSeverity INFO
The error log severity that is used for messages that provide information about significant events within the server that are not warnings or errors.
-
NONE
public static final ErrorLogPublisherCfgDefn.DefaultSeverity NONE
No messages of any severity are logged by default. This value is intended to be used in conjunction with the override-severity property to define an error logger that will publish no error message beside the errors of a given category.
-
NOTICE
public static final ErrorLogPublisherCfgDefn.DefaultSeverity NOTICE
The error log severity that is used for the most important informational messages (i.e., information that should almost always be logged but is not associated with a warning or error condition).
-
WARNING
public static final ErrorLogPublisherCfgDefn.DefaultSeverity WARNING
The error log severity that is used for messages that provide information about warnings triggered during processing.
-
-
Method Detail
-
values
public static ErrorLogPublisherCfgDefn.DefaultSeverity[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorLogPublisherCfgDefn.DefaultSeverity c : ErrorLogPublisherCfgDefn.DefaultSeverity.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorLogPublisherCfgDefn.DefaultSeverity valueOf​(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<ErrorLogPublisherCfgDefn.DefaultSeverity>
-
-