Class Log4J2MetricsAutoConfiguration

java.lang.Object
org.springframework.boot.actuate.autoconfigure.metrics.Log4J2MetricsAutoConfiguration

@AutoConfiguration(after={MetricsAutoConfiguration.class,CompositeMeterRegistryAutoConfiguration.class}) @ConditionalOnClass(value={io.micrometer.core.instrument.binder.logging.Log4j2Metrics.class,org.apache.logging.log4j.LogManager.class}, name="org.apache.logging.log4j.core.LoggerContext") @ConditionalOnBean(io.micrometer.core.instrument.MeterRegistry.class) @Conditional(org.springframework.boot.actuate.autoconfigure.metrics.Log4J2MetricsAutoConfiguration.Log4JCoreLoggerContextCondition.class) public class Log4J2MetricsAutoConfiguration extends Object
Auto-configuration for Log4J2 metrics.
Since:
2.1.0
Author:
Andy Wilkinson
  • Constructor Details

    • Log4J2MetricsAutoConfiguration

      public Log4J2MetricsAutoConfiguration()
  • Method Details