Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.codehaus.plexus.logging.AbstractLoggerManager
org.codehaus.plexus.logging.console.ConsoleLoggerManager
public class ConsoleLoggerManager
extends AbstractLoggerManager
implements LoggerManager, Initializable
org.codehaus.plexus.logging.ConsoleLoggerManager DEBUG
Fields inherited from interface org.codehaus.plexus.logging.LoggerManager | |
ROLE |
Constructor Summary | |
|
Method Summary | |
int | |
Logger |
|
int | |
int |
|
void | |
void |
|
void |
|
void |
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLoggerManager | |
getLoggerForComponent , getThreshold , returnComponentLogger , setThreshold , toMapKey |
public ConsoleLoggerManager()
public ConsoleLoggerManager(String threshold)
This special constructor is called directly when the container is bootstrapping itself.
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()
- Specified by:
- getThreshold in interface LoggerManager
- Returns:
- Returns the threshold.
public int getThreshold(String role, String roleHint)
- Specified by:
- getThreshold in interface LoggerManager
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: