Package org.codehaus.plexus.logging
Class AbstractLoggerManager
java.lang.Object
org.codehaus.plexus.logging.AbstractLoggerManager
- All Implemented Interfaces:
LoggerManager
- Direct Known Subclasses:
BaseLoggerManager,ConsoleLoggerManager
- Author:
- Jason van Zyl, Trygve Laugstøl
-
Field Summary
Fields inherited from interface org.codehaus.plexus.logging.LoggerManager
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLoggerForComponent(String role) intgetThreshold(String role) voidreturnComponentLogger(String role) voidsetThreshold(String role, int threshold) protected StringCreates a string key useful as keys inMap's.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.codehaus.plexus.logging.LoggerManager
getActiveLoggerCount, getLoggerForComponent, getThreshold, getThreshold, returnComponentLogger, setThreshold, setThreshold, setThresholds
-
Constructor Details
-
AbstractLoggerManager
public AbstractLoggerManager()
-
-
Method Details
-
setThreshold
- Specified by:
setThresholdin interfaceLoggerManager
-
getThreshold
- Specified by:
getThresholdin interfaceLoggerManager
-
getLoggerForComponent
- Specified by:
getLoggerForComponentin interfaceLoggerManager
-
returnComponentLogger
- Specified by:
returnComponentLoggerin interfaceLoggerManager
-
toMapKey
Creates a string key useful as keys inMap's.- Parameters:
role- The component role.roleHint- The component role hint.- Returns:
- Returns a string thats useful as a key for components.
-