public abstract class BaseLoggerManager extends AbstractLoggerManager implements Initializable
ROLE| Constructor and Description |
|---|
BaseLoggerManager() |
| Modifier and Type | Method and 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) |
getLoggerForComponent, returnComponentLoggerpublic final void initialize()
initialize in interface Initializablepublic final Logger getLoggerForComponent(String role, String hint)
getLoggerForComponent in interface LoggerManagerpublic final void returnComponentLogger(String role, String hint)
returnComponentLogger in interface LoggerManagerpublic final int getThreshold()
getThreshold in interface LoggerManagerpublic final void setThreshold(int currentThreshold)
setThreshold in interface LoggerManagerpublic final void setThresholds(int currentThreshold)
setThresholds in interface LoggerManagerpublic static final int parseThreshold(String text)
public final int getActiveLoggerCount()
getActiveLoggerCount in interface LoggerManagerCopyright © 2010-2015 Sonatype, Inc.. All Rights Reserved.