Class Log4j2LoggingSystemProperties

java.lang.Object
org.springframework.boot.logging.LoggingSystemProperties
org.springframework.boot.logging.log4j2.Log4j2LoggingSystemProperties

public class Log4j2LoggingSystemProperties extends LoggingSystemProperties
Since:
4.1.0
Author:
HoJoo Moon
See Also:
  • Constructor Details

    • Log4j2LoggingSystemProperties

      public Log4j2LoggingSystemProperties(Environment environment)
    • Log4j2LoggingSystemProperties

      public Log4j2LoggingSystemProperties(Environment environment, Function<@Nullable String, @Nullable String> defaultValueResolver, @Nullable BiConsumer<String, @Nullable String> setter)
      Create a new Log4j2LoggingSystemProperties instance.
      Parameters:
      environment - the source environment
      defaultValueResolver - function used to resolve default values or null
      setter - setter used to apply the property or null for system properties
  • Method Details