public class Slf4jLoggerManager extends Object implements org.codehaus.plexus.logging.LoggerManager
ILoggerFactory
as a backing for a Plexus
LoggerManager
,
ignoring Plexus logger API parts that are not classical and probably not really used.Constructor and Description |
---|
Slf4jLoggerManager() |
Modifier and Type | Method and Description |
---|---|
int |
getActiveLoggerCount()
Warning: ignored (always return
0 ). |
org.codehaus.plexus.logging.Logger |
getLoggerForComponent(String role) |
org.codehaus.plexus.logging.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 org.codehaus.plexus.logging.Logger getLoggerForComponent(String role)
getLoggerForComponent
in interface org.codehaus.plexus.logging.LoggerManager
public org.codehaus.plexus.logging.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 org.codehaus.plexus.logging.LoggerManager
public void returnComponentLogger(String role)
returnComponentLogger
in interface org.codehaus.plexus.logging.LoggerManager
public void returnComponentLogger(String role, String hint)
returnComponentLogger
in interface org.codehaus.plexus.logging.LoggerManager
public int getThreshold()
0
).getThreshold
in interface org.codehaus.plexus.logging.LoggerManager
public void setThreshold(int threshold)
setThreshold
in interface org.codehaus.plexus.logging.LoggerManager
public void setThresholds(int threshold)
setThresholds
in interface org.codehaus.plexus.logging.LoggerManager
public int getActiveLoggerCount()
0
).getActiveLoggerCount
in interface org.codehaus.plexus.logging.LoggerManager
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.