@Configuration(proxyBeanMethods=false) @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.ScopeDecorator |
slf4jSpanDecorator(SleuthProperties sleuthProperties,
SleuthSlf4jProperties sleuthSlf4jProperties) |
@Bean
@ConditionalOnProperty(value="spring.sleuth.log.slf4j.enabled",
matchIfMissing=true)
public brave.propagation.CurrentTraceContext.ScopeDecorator slf4jSpanDecorator(SleuthProperties sleuthProperties,
SleuthSlf4jProperties sleuthSlf4jProperties)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.