public interface LoggerManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
int |
getActiveLoggerCount() |
Logger |
getLoggerForComponent(java.lang.String role) |
Logger |
getLoggerForComponent(java.lang.String role,
java.lang.String roleHint) |
int |
getThreshold()
Returns the current threshold for all new loggers.
|
int |
getThreshold(java.lang.String role) |
int |
getThreshold(java.lang.String role,
java.lang.String roleHint) |
void |
returnComponentLogger(java.lang.String role) |
void |
returnComponentLogger(java.lang.String role,
java.lang.String hint) |
void |
setThreshold(int threshold)
Sets the threshold for all new loggers.
|
void |
setThreshold(java.lang.String role,
int threshold) |
void |
setThreshold(java.lang.String role,
java.lang.String roleHint,
int threshold) |
void |
setThresholds(int threshold)
Sets the threshold for all loggers.
|
void setThreshold(int threshold)
threshold
- The new threshold.int getThreshold()
void setThresholds(int threshold)
threshold
- The new threshold.void setThreshold(java.lang.String role, int threshold)
void setThreshold(java.lang.String role, java.lang.String roleHint, int threshold)
int getThreshold(java.lang.String role)
int getThreshold(java.lang.String role, java.lang.String roleHint)
Logger getLoggerForComponent(java.lang.String role)
Logger getLoggerForComponent(java.lang.String role, java.lang.String roleHint)
void returnComponentLogger(java.lang.String role)
void returnComponentLogger(java.lang.String role, java.lang.String hint)
int getActiveLoggerCount()