Package ubic.gemma.core.logging
Interface LoggingConfigurer
- 
- All Known Implementing Classes:
- Log4jConfigurer
 
 public interface LoggingConfigurerSimple interface for configuring logging levels.
- 
- 
Field SummaryFields Modifier and Type Field Description static String[]NAMED_LEVELS
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidapply()Apply pending changes to the configuration.voidconfigureAllLoggers(int newLevel)Set the logging level of all loggers.default voidconfigureAllLoggers(String newLevel)Set the logging level of all loggers using a named level.voidconfigureLogger(String loggerName, int newLevel)Set the logging level of a specific logger.default voidconfigureLogger(String loggerName, String newLevel)Set the logging level of a specific logger using a named level.
 
- 
- 
- 
Field Detail- 
NAMED_LEVELSstatic final String[] NAMED_LEVELS 
 
- 
 - 
Method Detail- 
configureAllLoggersvoid configureAllLoggers(int newLevel) Set the logging level of all loggers.- Throws:
- IllegalArgumentException- if newLevel is invalid
 
 - 
configureAllLoggersdefault void configureAllLoggers(String newLevel) Set the logging level of all loggers using a named level.- Throws:
- IllegalArgumentException- if newLevel is invalid
 
 - 
configureLoggervoid configureLogger(String loggerName, int newLevel) throws IllegalArgumentException Set the logging level of a specific logger.- Throws:
- IllegalArgumentException- if loggerName or newLevel is invalid
 
 - 
configureLoggerdefault void configureLogger(String loggerName, String newLevel) throws IllegalArgumentException Set the logging level of a specific logger using a named level.- Throws:
- IllegalArgumentException- if loggerName or newLevel is invalid
 
 - 
applyvoid apply() Apply pending changes to the configuration.
 
- 
 
-