Module org.glassfish.main.jul
Package org.glassfish.main.jul.handler
Enum Class SimpleLogHandler.SimpleLogHandlerProperty
java.lang.Object
java.lang.Enum<SimpleLogHandler.SimpleLogHandlerProperty>
org.glassfish.main.jul.handler.SimpleLogHandler.SimpleLogHandlerProperty
- All Implemented Interfaces:
Serializable,Comparable<SimpleLogHandler.SimpleLogHandlerProperty>,java.lang.constant.Constable,LogProperty
- Enclosing class:
- SimpleLogHandler
public static enum SimpleLogHandler.SimpleLogHandlerProperty
extends Enum<SimpleLogHandler.SimpleLogHandlerProperty>
implements LogProperty
Configuration property set of this handler.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.glassfish.main.jul.cfg.LogProperty
getPropertyFullName, getPropertyFullName
-
Enum Constant Details
-
USE_ERROR_STREAM
Use STDERR or STDOUT? Default is true (STDERR). -
FORMATTER
Class of theFormatterused with this handler -
LEVEL
Minimal level accepted by this handler, default isLevel.ALL -
FILTER
Additional filter class used to filter log records. Default is null. -
ENCODING
Output stream encoding. Default is null
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getPropertyName
- Specified by:
getPropertyNamein interfaceLogProperty- Returns:
- a name of the property, used as a last part of property name in logging.properties
-
getPropertyFullName
- Returns:
- full name using the
SimpleLogHandlerclass.
-