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
  • Constructor Details

    • SpringBootPropertySource

      public SpringBootPropertySource()
  • Method Details

    • forEach

      public void forEach(org.apache.logging.log4j.util.BiConsumer<String,String> action)
      Specified by:
      forEach in interface org.apache.logging.log4j.util.PropertySource
    • getNormalForm

      public CharSequence getNormalForm(Iterable<? extends CharSequence> tokens)
      Specified by:
      getNormalForm in interface org.apache.logging.log4j.util.PropertySource
    • getPriority

      public int getPriority()
      Specified by:
      getPriority in interface org.apache.logging.log4j.util.PropertySource