|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.cli.logging.Slf4jLoggerManager
public class Slf4jLoggerManager
Use an SLF4J ILoggerFactory
as a backing for a Plexus LoggerManager
,
ignoring Plexus logger API parts that are not classical and probably not really used.
Field Summary |
---|
Fields inherited from interface org.codehaus.plexus.logging.LoggerManager |
---|
ROLE |
Constructor Summary | |
---|---|
Slf4jLoggerManager()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Slf4jLoggerManager()
Method Detail |
---|
public Logger getLoggerForComponent(String role)
getLoggerForComponent
in interface LoggerManager
public 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 LoggerManager
public void returnComponentLogger(String role)
returnComponentLogger
in interface LoggerManager
public void returnComponentLogger(String role, String hint)
returnComponentLogger
in interface LoggerManager
public int getThreshold()
0
).
getThreshold
in interface LoggerManager
public void setThreshold(int threshold)
setThreshold
in interface LoggerManager
public void setThresholds(int threshold)
setThresholds
in interface LoggerManager
public int getActiveLoggerCount()
0
).
getActiveLoggerCount
in interface LoggerManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |