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
- Author:
- Andy Wilkinson
-
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 TypeMethodDescriptionvoid
getNormalForm
(Iterable<? extends CharSequence> tokens) int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.util.PropertySource
containsProperty, getProperty
-
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
-