@Configuration
@ConditionalOnProperty(name="isy.logging.autoconfiguration.enabled",
matchIfMissing=true)
@EnableAspectJAutoProxy
@EnableConfigurationProperties
public class IsyLoggingAutoConfiguration
extends Object
| Constructor and Description |
|---|
IsyLoggingAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.aop.Advisor |
boundaryLogAdvisorByAnnotation(IsyLoggingBoundaryLoggerProperties properties,
LoggingMethodInterceptor boundaryLogInterceptor)
Advisor for logging at system boundaries.
|
LoggingMethodInterceptor |
boundaryLogInterceptor(IsyLoggingBoundaryLoggerProperties properties)
Interceptor for logging at system boundaries.
|
org.springframework.aop.Advisor |
componentLogAdvisorByAnnotation(IsyLoggingComponentLoggerProperties properties,
LoggingMethodInterceptor componentLogInterceptor)
Advisor for logging at component boundaries.
|
LoggingMethodInterceptor |
componentLogInterceptor(IsyLoggingComponentLoggerProperties properties)
Interceptor for logging at component boundaries.
|
IsyLoggingApplicationLoggerProperties |
isyLoggingApplicationLoggerProperties()
Creates a bean for the configuration parameters of the application logger.
|
IsyLoggingBoundaryLoggerProperties |
isyLoggingBoundaryLoggerProperties()
Creates a bean for the boundary logger configuration parameters.
|
IsyLoggingComponentLoggerProperties |
isyLoggingComponentLoggerProperties()
Creates a bean for the configuration parameters of the component logger.
|
LogApplicationListener |
statusLogger(IsyLoggingApplicationLoggerProperties properties)
Listener for logging during startup/shutdown.
|
@Bean @ConfigurationProperties(prefix="isy.logging.anwendung") public IsyLoggingApplicationLoggerProperties isyLoggingApplicationLoggerProperties()
@Bean @ConfigurationProperties(prefix="isy.logging.boundary") public IsyLoggingBoundaryLoggerProperties isyLoggingBoundaryLoggerProperties()
@Bean @ConfigurationProperties(prefix="isy.logging.component") public IsyLoggingComponentLoggerProperties isyLoggingComponentLoggerProperties()
@Bean public LogApplicationListener statusLogger(IsyLoggingApplicationLoggerProperties properties)
properties - Parameters for the configuration of the status logger.@Bean public LoggingMethodInterceptor boundaryLogInterceptor(IsyLoggingBoundaryLoggerProperties properties)
properties - Parameters for the configuration of the interceptor.@Bean public LoggingMethodInterceptor componentLogInterceptor(IsyLoggingComponentLoggerProperties properties)
properties - Parameters for the configuration of the interceptor.@Bean public org.springframework.aop.Advisor boundaryLogAdvisorByAnnotation(IsyLoggingBoundaryLoggerProperties properties, @Qualifier(value="boundaryLogInterceptor") LoggingMethodInterceptor boundaryLogInterceptor)
properties - Properties for the configuration of the pointcut.boundaryLogInterceptor - Interceptor for logging.@Bean public org.springframework.aop.Advisor componentLogAdvisorByAnnotation(IsyLoggingComponentLoggerProperties properties, @Qualifier(value="componentLogInterceptor") LoggingMethodInterceptor componentLogInterceptor)
properties - Properties for the configuration of the pointcut.componentLogInterceptor - Interceptor for logging.Copyright © 2022. All rights reserved.