public class SpincastLogbackConfigurerConfigDefault extends Object implements SpincastLogbackConfigurerConfig
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SpincastLogbackConfigurerConfigDefault(SpincastUtils spincastUtils) |
| Modifier and Type | Method and Description |
|---|---|
ResourceInfo |
getResourceInfo()
The path about the Logback XML file to load.
|
protected SpincastUtils |
getSpincastUtils() |
String |
tweakContent(String logbackContent)
Allows you to tweak the Logback content before it is applied.
|
@Inject public SpincastLogbackConfigurerConfigDefault(SpincastUtils spincastUtils)
protected SpincastUtils getSpincastUtils()
public ResourceInfo getResourceInfo()
SpincastLogbackConfigurerConfigThe file can be on the classpath or on the file system.
You can return null if you want to
provide the full content using the
SpincastLogbackConfigurerConfig.tweakContent(String) method (an empty
string would then be passed to that method).
getResourceInfo in interface SpincastLogbackConfigurerConfigpublic String tweakContent(String logbackContent)
SpincastLogbackConfigurerConfigYou can use this for example to replace some placeholders in the Logback content.
tweakContent in interface SpincastLogbackConfigurerConfigCopyright © 2019. All rights reserved.