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, returnComponentLogger
public final void initialize()
initialize
in interface Initializable
public final Logger getLoggerForComponent(String role, String hint)
getLoggerForComponent
in interface LoggerManager
public final void returnComponentLogger(String role, String hint)
returnComponentLogger
in interface LoggerManager
public final int getThreshold()
getThreshold
in interface LoggerManager
public final void setThreshold(int currentThreshold)
setThreshold
in interface LoggerManager
public final void setThresholds(int currentThreshold)
setThresholds
in interface LoggerManager
public static final int parseThreshold(String text)
public final int getActiveLoggerCount()
getActiveLoggerCount
in interface LoggerManager
Copyright © 2017. All rights reserved.