@Configuration @ConditionalOnClass(value=org.slf4j.MDC.class) @EnableConfigurationProperties(value=SleuthSlf4jProperties.class) protected static class SleuthLogAutoConfiguration.Slf4jConfiguration extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Slf4jConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
brave.propagation.CurrentTraceContext |
slf4jSpanLogger() |
static org.springframework.beans.factory.config.BeanPostProcessor |
slf4jSpanLoggerBPP() |
@Bean
@ConditionalOnProperty(value="spring.sleuth.log.slf4j.enabled",
matchIfMissing=true)
@ConditionalOnMissingBean
public brave.propagation.CurrentTraceContext slf4jSpanLogger()
@Bean
@ConditionalOnProperty(value="spring.sleuth.log.slf4j.enabled",
matchIfMissing=true)
@ConditionalOnBean(value=brave.propagation.CurrentTraceContext.class)
public static org.springframework.beans.factory.config.BeanPostProcessor slf4jSpanLoggerBPP()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.