public class Log4JLoggingSystem extends AbstractLoggingSystem
LoggingSystem
for for log4j.Constructor and Description |
---|
Log4JLoggingSystem(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
get
public Log4JLoggingSystem(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 © 2013. All rights reserved.