Package org.apache.logging.log4j.util
Class PaxPropertySource
- java.lang.Object
-
- org.apache.logging.log4j.util.PaxPropertySource
-
- All Implemented Interfaces:
org.apache.logging.log4j.util.PropertySource
public class PaxPropertySource extends Object implements org.apache.logging.log4j.util.PropertySource
High priorityPropertySourceto ensure that user won't turn on (or off) anything that could break pax-logging-log4j2. See SystemProperties
-
-
Field Summary
Fields Modifier and Type Field Description static booleandebugstatic StringdefaultLevelstatic StringfileConfiguration
-
Constructor Summary
Constructors Constructor Description PaxPropertySource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsProperty(String key)voidforEach(org.apache.logging.log4j.util.BiConsumer<String,String> action)CharSequencegetNormalForm(Iterable<? extends CharSequence> tokens)intgetPriority()StringgetProperty(String key)Collection<String>getPropertyNames()static voidupdateFileConfiguration(String fileName)
-
-
-
Method Detail
-
updateFileConfiguration
public static void updateFileConfiguration(String fileName)
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfaceorg.apache.logging.log4j.util.PropertySource
-
getPropertyNames
public Collection<String> getPropertyNames()
- Specified by:
getPropertyNamesin interfaceorg.apache.logging.log4j.util.PropertySource
-
getProperty
public String getProperty(String key)
- Specified by:
getPropertyin interfaceorg.apache.logging.log4j.util.PropertySource
-
forEach
public void forEach(org.apache.logging.log4j.util.BiConsumer<String,String> action)
- Specified by:
forEachin interfaceorg.apache.logging.log4j.util.PropertySource
-
containsProperty
public boolean containsProperty(String key)
- Specified by:
containsPropertyin interfaceorg.apache.logging.log4j.util.PropertySource
-
getNormalForm
public CharSequence getNormalForm(Iterable<? extends CharSequence> tokens)
- Specified by:
getNormalFormin interfaceorg.apache.logging.log4j.util.PropertySource
-
-