public class JavaLoggingSystem extends AbstractLoggingSystem
Constructor and Description |
---|
JavaLoggingSystem(ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
initialize(String configLocation)
Initialize the logging system from a logging configuration location.
|
void |
setLogLevel(String loggerName,
LogLevel level)
Sets the logging level for a given logger.
|
beforeInitialize, getClassLoader, getPackagedConfigFile, initialize, initializeWithSensibleDefaults
cleanUp, get
public JavaLoggingSystem(ClassLoader classLoader)
public void initialize(String configLocation)
LoggingSystem
initialize
in class LoggingSystem
configLocation
- a log configuration locationpublic void setLogLevel(String loggerName, LogLevel level)
LoggingSystem
setLogLevel
in class LoggingSystem
loggerName
- the name of the logger to setlevel
- the log levelCopyright © 2015 Pivotal Software, Inc.. All rights reserved.