org.codehaus.plexus.logging
public abstract class BaseLoggerManager extends AbstractLoggerManager implements Initializable
Version: $Id: BaseLoggerManager.java 4779 2006-11-23 04:09:31Z jvanzyl $
| Field Summary | |
|---|---|
| int | currentThreshold |
| Map | loggerCache |
| String | threshold |
| Method Summary | |
|---|---|
| protected abstract Logger | createLogger(String key) |
| int | getActiveLoggerCount() |
| Logger | getLoggerForComponent(String role, String roleHint) |
| int | getThreshold()
Returns the current threshold for all new loggers.
|
| int | getThreshold(String role, String roleHint) |
| String | getThresholdAsString() |
| void | initialize() |
| protected int | parseThreshold(String text) |
| void | returnComponentLogger(String role, String roleHint) |
| void | setThreshold(int currentThreshold)
Sets the threshold for all new loggers. |
| void | setThreshold(String role, String roleHint, int threshold) |
| void | setThresholds(int currentThreshold)
Sets the threshold for all new loggers. |
Returns: Returns the current threshold for all new loggers.
Parameters: currentThreshold The new threshold.
Parameters: currentThreshold The new threshold.