public abstract class Slf4JLoggingSystem extends AbstractLoggingSystem
LoggingSystem implementations that utilize SLF4J.AbstractLoggingSystem.LogLevels<T>CONFIGURATION_COMPARATORNONE, 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, reinitializeget, getLoggerConfiguration, getLoggerConfigurations, getShutdownHandler, getSupportedLogLevels, setLogLevelpublic Slf4JLoggingSystem(ClassLoader classLoader)
public void beforeInitialize()
LoggingSystemLoggingSystem.initialize(LoggingInitializationContext, String, LogFile) to reduce
logging noise until the system has been fully initialized.beforeInitialize in class AbstractLoggingSystempublic void cleanUp()
LoggingSystemcleanUp in class LoggingSystemprotected void loadConfiguration(LoggingInitializationContext initializationContext, String location, LogFile logFile)
AbstractLoggingSystemloadConfiguration in class AbstractLoggingSysteminitializationContext - 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 © 2018 Pivotal Software, Inc.. All rights reserved.