Package ubic.gemma.core.logging.log4j
Class Log4jConfigurer
- java.lang.Object
-
- ubic.gemma.core.logging.log4j.Log4jConfigurer
-
- All Implemented Interfaces:
LoggingConfigurer
public class Log4jConfigurer extends Object implements LoggingConfigurer
Implementation ofLoggingConfigurer
for Log4j.
-
-
Field Summary
-
Fields inherited from interface ubic.gemma.core.logging.LoggingConfigurer
NAMED_LEVELS
-
-
Constructor Summary
Constructors Constructor Description Log4jConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply()
Apply pending changes to the configuration.void
configureAllLoggers(int newLevel)
Set the logging level of all loggers.void
configureLogger(String loggerName, int newLevel)
Set up logging according to the user-selected (or default) verbosity level.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ubic.gemma.core.logging.LoggingConfigurer
configureAllLoggers, configureLogger
-
-
-
-
Method Detail
-
configureAllLoggers
public void configureAllLoggers(int newLevel)
Description copied from interface:LoggingConfigurer
Set the logging level of all loggers.- Specified by:
configureAllLoggers
in interfaceLoggingConfigurer
-
configureLogger
public void configureLogger(String loggerName, int newLevel)
Set up logging according to the user-selected (or default) verbosity level.- Specified by:
configureLogger
in interfaceLoggingConfigurer
-
apply
public void apply()
Description copied from interface:LoggingConfigurer
Apply pending changes to the configuration.- Specified by:
apply
in interfaceLoggingConfigurer
-
-