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, wait
getActiveLoggerCount, getLoggerForComponent, getThreshold, getThreshold, returnComponentLogger, setThreshold, setThreshold, setThresholds
public void setThreshold(String role, int threshold)
setThreshold
in interface LoggerManager
public int getThreshold(String role)
getThreshold
in interface LoggerManager
public Logger getLoggerForComponent(String role)
getLoggerForComponent
in interface LoggerManager
public void returnComponentLogger(String role)
returnComponentLogger
in interface LoggerManager
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.