@Configuration @AutoConfigureAfter(value=MetricsAutoConfiguration.class) @ConditionalOnClass(value={io.micrometer.core.instrument.binder.logging.Log4j2Metrics.class,org.apache.logging.log4j.core.LoggerContext.class}) @ConditionalOnBean(value=io.micrometer.core.instrument.MeterRegistry.class) public class Log4J2MetricsAutoConfiguration extends Object
Constructor and Description |
---|
Log4J2MetricsAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.binder.logging.Log4j2Metrics |
log4j2Metrics() |
@Bean @ConditionalOnMissingBean public io.micrometer.core.instrument.binder.logging.Log4j2Metrics log4j2Metrics()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.