Class SpincastLogbackConfigurerConfigDefault
java.lang.Object
org.spincast.plugins.logbackutils.config.SpincastLogbackConfigurerConfigDefault
- All Implemented Interfaces:
SpincastLogbackConfigurerConfig
- Direct Known Subclasses:
AppLogbackConfigurerConfig
public class SpincastLogbackConfigurerConfigDefault
extends Object
implements SpincastLogbackConfigurerConfig
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe path about the Logback XML file to load.protected SpincastUtils
tweakContent
(String logbackContent) Allows you to tweak the Logback content before it is applied.
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
SpincastLogbackConfigurerConfigDefault
-
-
Method Details
-
getSpincastUtils
-
getResourceInfo
Description copied from interface:SpincastLogbackConfigurerConfig
The path about the Logback XML file to load.The file can be on the classpath or on the file system.
You can return
null
if you want to provide the full content using theSpincastLogbackConfigurerConfig.tweakContent(String)
method (an empty string would then be passed to that method).- Specified by:
getResourceInfo
in interfaceSpincastLogbackConfigurerConfig
-
tweakContent
Description copied from interface:SpincastLogbackConfigurerConfig
Allows you to tweak the Logback content before it is applied.You can use this for example to replace some placeholders in the Logback content.
- Specified by:
tweakContent
in interfaceSpincastLogbackConfigurerConfig
-