org.codehaus.plexus.logging
Interface LoggerManager
- AbstractLoggerManager, BaseLoggerManager, ConsoleLoggerManager
public interface LoggerManager
$Id: LoggerManager.java 1323 2004-12-20 23:00:59Z jvanzyl $
ROLE
public static final String ROLE
getActiveLoggerCount
public int getActiveLoggerCount()
getLoggerForComponent
public Logger getLoggerForComponent(String role)
getLoggerForComponent
public Logger getLoggerForComponent(String role,
String roleHint)
getThreshold
public int getThreshold()
Returns the current threshold for all new loggers.
- Returns the current threshold for all new loggers.
getThreshold
public int getThreshold(String role)
getThreshold
public int getThreshold(String role,
String roleHint)
returnComponentLogger
public void returnComponentLogger(String role)
returnComponentLogger
public void returnComponentLogger(String role,
String hint)
setThreshold
public void setThreshold(String role,
String roleHint,
int threshold)
setThreshold
public void setThreshold(String role,
int threshold)
setThreshold
public void setThreshold(int threshold)
Sets the threshold for all new loggers. It will NOT affect the existing loggers.
This is usually only set once while the logger manager is configured.
threshold
- The new threshold.