Package org.codehaus.plexus.logging
Class BaseLoggerManager
- java.lang.Object
-
- org.codehaus.plexus.logging.AbstractLoggerManager
-
- org.codehaus.plexus.logging.BaseLoggerManager
-
- All Implemented Interfaces:
LoggerManager
,Initializable
public abstract class BaseLoggerManager extends AbstractLoggerManager implements Initializable
-
-
Field Summary
-
Fields inherited from interface org.codehaus.plexus.logging.LoggerManager
ROLE
-
-
Constructor Summary
Constructors Constructor Description BaseLoggerManager()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Logger
createLogger(String name)
int
getActiveLoggerCount()
Logger
getLoggerForComponent(String role, String hint)
int
getThreshold()
void
initialize()
static int
parseThreshold(String text)
void
returnComponentLogger(String role, String hint)
void
setThreshold(int currentThreshold)
void
setThresholds(int currentThreshold)
-
Methods inherited from class org.codehaus.plexus.logging.AbstractLoggerManager
getLoggerForComponent, returnComponentLogger
-
-
-
-
Method Detail
-
initialize
public final void initialize()
- Specified by:
initialize
in interfaceInitializable
-
getLoggerForComponent
public final Logger getLoggerForComponent(String role, String hint)
- Specified by:
getLoggerForComponent
in interfaceLoggerManager
-
returnComponentLogger
public final void returnComponentLogger(String role, String hint)
- Specified by:
returnComponentLogger
in interfaceLoggerManager
-
getThreshold
public final int getThreshold()
- Specified by:
getThreshold
in interfaceLoggerManager
-
setThreshold
public final void setThreshold(int currentThreshold)
- Specified by:
setThreshold
in interfaceLoggerManager
-
setThresholds
public final void setThresholds(int currentThreshold)
- Specified by:
setThresholds
in interfaceLoggerManager
-
parseThreshold
public static final int parseThreshold(String text)
-
getActiveLoggerCount
public final int getActiveLoggerCount()
- Specified by:
getActiveLoggerCount
in interfaceLoggerManager
-
-