Package org.apache.logging.log4j.kit.env
Annotation Interface Log4jProperty
Annotates a class or parameter that stores Log4j API configuration properties.
This annotation is required for root property classes.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionProvides the default value of the property.Provides a name for the configuration property. -
Field Summary
Fields
-
Field Details
-
SYSTEM
If used as default value, points to a JVM-dependent constant.- See Also:
-
-
Element Details
-
name
String nameProvides a name for the configuration property.- Default:
- ""
-
defaultValue
String defaultValueProvides the default value of the property.This only applies to scalar values.
If the property is of type
Charset
,Locale
,TimeZone
orZoneId
, the special constant "system" uses the JVM's default value.- Default:
- ""
-