public interface LoggerManager
Modifier and Type | Method and Description |
---|---|
int |
getActiveLoggerCount() |
Logger |
getLoggerForComponent(String role) |
Logger |
getLoggerForComponent(String role,
String roleHint) |
int |
getThreshold()
Returns the current threshold for all new loggers.
|
int |
getThreshold(String role) |
int |
getThreshold(String role,
String roleHint) |
void |
returnComponentLogger(String role) |
void |
returnComponentLogger(String role,
String hint) |
void |
setThreshold(int threshold)
Sets the threshold for all new loggers.
|
void |
setThreshold(String role,
int threshold) |
void |
setThreshold(String role,
String roleHint,
int threshold) |
void |
setThresholds(int threshold)
Sets the threshold for all loggers.
|
static final String ROLE
void setThreshold(int threshold)
threshold
- The new threshold.int getThreshold()
void setThresholds(int threshold)
threshold
- The new threshold.void setThreshold(String role, int threshold)
int getThreshold(String role)
void returnComponentLogger(String role)
int getActiveLoggerCount()
Copyright © 2001–2019 Codehaus Plexus. All rights reserved.