public abstract class Slf4JLoggingSystem extends AbstractLoggingSystem
LoggingSystem
implementations that utilize SLF4J.AbstractLoggingSystem.LogLevels<T>
CONFIGURATION_COMPARATOR
NONE, ROOT_LOGGER_NAME, SYSTEM_PROPERTY
Constructor and Description |
---|
Slf4JLoggingSystem(ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
beforeInitialize()
Reset the logging system to be limit output.
|
void |
cleanUp()
Clean up the logging system.
|
protected boolean |
isBridgeHandlerAvailable() |
protected void |
loadConfiguration(LoggingInitializationContext initializationContext,
String location,
LogFile logFile)
Load a specific configuration.
|
applySystemProperties, getClassLoader, getPackagedConfigFile, getSelfInitializationConfig, getSpringConfigLocations, getSpringInitializationConfig, getStandardConfigLocations, initialize, loadDefaults, reinitialize
get, getLoggerConfiguration, getLoggerConfigurations, getShutdownHandler, getSupportedLogLevels, setLogLevel
public Slf4JLoggingSystem(ClassLoader classLoader)
public void beforeInitialize()
LoggingSystem
LoggingSystem.initialize(LoggingInitializationContext, String, LogFile)
to reduce
logging noise until the system has been fully initialized.beforeInitialize
in class AbstractLoggingSystem
public void cleanUp()
LoggingSystem
cleanUp
in class LoggingSystem
protected void loadConfiguration(LoggingInitializationContext initializationContext, String location, LogFile logFile)
AbstractLoggingSystem
loadConfiguration
in class AbstractLoggingSystem
initializationContext
- the logging initialization contextlocation
- the location of the configuration to load (never null
)logFile
- the file to load or null
if no log file is to be writtenprotected final boolean isBridgeHandlerAvailable()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.