Class SpringBootPropertySource
java.lang.Object
org.springframework.boot.logging.log4j2.SpringBootPropertySource
- All Implemented Interfaces:
org.apache.logging.log4j.util.PropertySource
public class SpringBootPropertySource
extends Object
implements org.apache.logging.log4j.util.PropertySource
Spring Boot
PropertySource
that disables Log4j2's shutdown hook.- Since:
- 2.5.2
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.logging.log4j.util.PropertySource
org.apache.logging.log4j.util.PropertySource.Comparator, org.apache.logging.log4j.util.PropertySource.Util
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsProperty
(String key) void
getNormalForm
(Iterable<? extends CharSequence> tokens) int
getProperty
(String key)
-
Constructor Details
-
SpringBootPropertySource
public SpringBootPropertySource()
-
-
Method Details
-
forEach
- Specified by:
forEach
in interfaceorg.apache.logging.log4j.util.PropertySource
-
getNormalForm
- Specified by:
getNormalForm
in interfaceorg.apache.logging.log4j.util.PropertySource
-
getPriority
public int getPriority()- Specified by:
getPriority
in interfaceorg.apache.logging.log4j.util.PropertySource
-
getProperty
- Specified by:
getProperty
in interfaceorg.apache.logging.log4j.util.PropertySource
-
containsProperty
- Specified by:
containsProperty
in interfaceorg.apache.logging.log4j.util.PropertySource
-
getPropertyNames
- Specified by:
getPropertyNames
in interfaceorg.apache.logging.log4j.util.PropertySource
-