public class Slf4jLoggerManager extends Object implements LoggerManager
ILoggerFactory as a backing for a Plexus LoggerManager,
ignoring Plexus logger API parts that are not classical and probably not really used.ROLE| Constructor and Description |
|---|
Slf4jLoggerManager() |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveLoggerCount()
Warning: ignored (always return
0). |
Logger |
getLoggerForComponent(String role) |
Logger |
getLoggerForComponent(String role,
String hint)
The logger name for a component with a non-null hint is
role.hint. |
int |
getThreshold()
Warning: ignored (always return
0). |
void |
returnComponentLogger(String role)
Warning: ignored.
|
void |
returnComponentLogger(String role,
String hint)
Warning: ignored.
|
void |
setThreshold(int threshold)
Warning: ignored.
|
void |
setThresholds(int threshold)
Warning: ignored.
|
public Slf4jLoggerManager()
public Logger getLoggerForComponent(String role)
getLoggerForComponent in interface LoggerManagerpublic Logger getLoggerForComponent(String role, String hint)
role.hint.
Warning: this does not conform to logger name as class name convention.
(and what about null and default hint equivalence?)getLoggerForComponent in interface LoggerManagerpublic void returnComponentLogger(String role)
returnComponentLogger in interface LoggerManagerpublic void returnComponentLogger(String role, String hint)
returnComponentLogger in interface LoggerManagerpublic int getThreshold()
0).getThreshold in interface LoggerManagerpublic void setThreshold(int threshold)
setThreshold in interface LoggerManagerpublic void setThresholds(int threshold)
setThresholds in interface LoggerManagerpublic int getActiveLoggerCount()
0).getActiveLoggerCount in interface LoggerManagerCopyright © 2001–2014 The Apache Software Foundation. All rights reserved.