| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.codehaus.plexus.logging.AbstractLoggerManagerorg.codehaus.plexus.logging.BaseLoggerManagerFields inherited from interface org.codehaus.plexus.logging.LoggerManager | |
ROLE | |
Method Summary | |
protected abstract Logger |
|
int | |
Logger |
|
int |
|
int |
|
String | |
void | |
protected int |
|
void |
|
void |
|
void |
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLoggerManager | |
getLoggerForComponent, getThreshold, returnComponentLogger, setThreshold, toMapKey | |
public int getActiveLoggerCount()
- Specified by:
- getActiveLoggerCount in interface LoggerManager
public Logger getLoggerForComponent(String role, String roleHint)
- Specified by:
- getLoggerForComponent in interface LoggerManager
public int getThreshold()
Returns the current threshold for all new loggers.
- Specified by:
- getThreshold in interface LoggerManager
- Returns:
- Returns the current threshold for all new loggers.
public int getThreshold(String role,
String roleHint)
- Specified by:
- getThreshold in interface LoggerManager
public String getThresholdAsString()
protected int parseThreshold(String text)
public void returnComponentLogger(String role,
String roleHint)
- Specified by:
- returnComponentLogger in interface LoggerManager
public void setThreshold(String role,
String roleHint,
int threshold)
- Specified by:
- setThreshold in interface LoggerManager
public void setThreshold(int currentThreshold)
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.
- Specified by:
- setThreshold in interface LoggerManager
- Parameters:
currentThreshold- The new threshold.