public abstract class LogbackConfigurerAdapter extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
LogbackConfigurerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addConfigurationResources(Collection<org.springframework.core.io.Resource> resources)
Add XML configuration resources in this method.
|
protected void |
addProperties(Map<String,String> properties)
Add configuration properties to be passed to the XML resources in this method.
|
void |
configure()
Applies the logback configuration.
|
protected void |
configureLoggerContext(ch.qos.logback.classic.LoggerContext context)
Perform special configuration on the LoggerContext in this method.
|
@PostConstruct public void configure()
protected void configureLoggerContext(ch.qos.logback.classic.LoggerContext context)
context - Logback LoggerContext instance.protected void addConfigurationResources(Collection<org.springframework.core.io.Resource> resources)
resources - Collection where XML resources should be added.Copyright © 2017. All rights reserved.