public abstract class AbstractLoggerManager extends Object implements LoggerManager
ROLE| Constructor and Description |
|---|
AbstractLoggerManager() |
| Modifier and Type | Method and Description |
|---|---|
Logger |
getLoggerForComponent(String role) |
int |
getThreshold(String role) |
void |
returnComponentLogger(String role) |
void |
setThreshold(String role,
int threshold) |
protected String |
toMapKey(String role,
String roleHint)
Creates a string key useful as keys in
Map's. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActiveLoggerCount, getLoggerForComponent, getThreshold, getThreshold, returnComponentLogger, setThreshold, setThreshold, setThresholdspublic void setThreshold(String role, int threshold)
setThreshold in interface LoggerManagerpublic int getThreshold(String role)
getThreshold in interface LoggerManagerpublic Logger getLoggerForComponent(String role)
getLoggerForComponent in interface LoggerManagerpublic void returnComponentLogger(String role)
returnComponentLogger in interface LoggerManagerCopyright © 2001–2019 Codehaus Plexus. All rights reserved.