public.javadoc.org.spincast.quickstart.config.AppLogbackConfigurerConfig.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
AppLogbackConfigurerConfig (org.spincast:spincast-framework 2.1.1 API)
Package org.spincast.quickstart.config
Class AppLogbackConfigurerConfig
java.lang.Object
org.spincast.plugins.logbackutils.config.SpincastLogbackConfigurerConfigDefault
org.spincast.quickstart.config.AppLogbackConfigurerConfig
- All Implemented Interfaces:
SpincastLogbackConfigurerConfig
Configure Logback
-
Field Summary
Fields inherited from class org.spincast.plugins.logbackutils.config.SpincastLogbackConfigurerConfigDefault
logger
-
Constructor Summary
Constructor
Description
AppLogbackConfigurerConfig(SpincastUtils spincastUtils,
AppConfig appConfig,
TemplatingEngine templatingEngine)
-
Method Summary
Modifier and Type
Method
Description
protected AppConfig
The path about the Logback XML file to load.
protected TemplatingEngine
tweakContent(String logbackContent)
Allows you to tweak the Logback content before it is applied.
Methods inherited from class org.spincast.plugins.logbackutils.config.SpincastLogbackConfigurerConfigDefault
getSpincastUtils
-
Constructor Details
-
AppLogbackConfigurerConfig
@Inject
public AppLogbackConfigurerConfig(SpincastUtils spincastUtils,
AppConfig appConfig,
TemplatingEngine templatingEngine)
-
Method Details
-
getAppConfig
-
getTemplatingEngine
-
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 the
SpincastLogbackConfigurerConfig.tweakContent(String)
method (an empty
string would then be passed to that method).
- Specified by:
getResourceInfo
in interface SpincastLogbackConfigurerConfig
- Overrides:
getResourceInfo
in class SpincastLogbackConfigurerConfigDefault
-
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 interface SpincastLogbackConfigurerConfig
- Overrides:
tweakContent
in class SpincastLogbackConfigurerConfigDefault