Module org.glassfish.main.jul
Package org.glassfish.main.jul.formatter
Enum Class GlassFishLogFormatter.GlassFishLogFormatterProperty
java.lang.Object
java.lang.Enum<GlassFishLogFormatter.GlassFishLogFormatterProperty>
org.glassfish.main.jul.formatter.GlassFishLogFormatter.GlassFishLogFormatterProperty
- All Implemented Interfaces:
Serializable,Comparable<GlassFishLogFormatter.GlassFishLogFormatterProperty>,java.lang.constant.Constable,LogProperty
- Enclosing class:
GlassFishLogFormatter
public static enum GlassFishLogFormatter.GlassFishLogFormatterProperty
extends Enum<GlassFishLogFormatter.GlassFishLogFormatterProperty>
implements LogProperty
Configuration property set of this formatter
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEnable printing the sequence number of the LogRecord.Enable printing the source class and method of the LogRecord.Format used byDateTimeFormatter -
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
-
TIMESTAMP_FORMAT
Format used byDateTimeFormatter -
PRINT_SEQUENCE_NUMBER
Enable printing the sequence number of the LogRecord. SeeLogRecord.getSequenceNumber() -
PRINT_SOURCE
Enable printing the source class and method of the LogRecord. SeeLogRecord.getSourceClassName()andLogRecord.getSourceMethodName()
-
-
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
-