Package org.apache.maven.cli.logging
Class Slf4jLoggerManager
java.lang.Object
org.apache.maven.cli.logging.Slf4jLoggerManager
- All Implemented Interfaces:
org.codehaus.plexus.logging.LoggerManager
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.- Since:
- 3.1
- Author:
- Jason van Zyl
-
Field Summary
Fields inherited from interface org.codehaus.plexus.logging.LoggerManager
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Warning: ignored (always return0
).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 isrole.hint
.int
Warning: ignored (always return0
).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.
-
Constructor Details
-
Slf4jLoggerManager
public Slf4jLoggerManager()
-
-
Method Details
-
getLoggerForComponent
- Specified by:
getLoggerForComponent
in interfaceorg.codehaus.plexus.logging.LoggerManager
-
getLoggerForComponent
The logger name for a component with a non-null hint isrole.hint
. Warning: this does not conform to logger name as class name convention. (and what aboutnull
anddefault
hint equivalence?)- Specified by:
getLoggerForComponent
in interfaceorg.codehaus.plexus.logging.LoggerManager
-
returnComponentLogger
Warning: ignored.- Specified by:
returnComponentLogger
in interfaceorg.codehaus.plexus.logging.LoggerManager
-
returnComponentLogger
Warning: ignored.- Specified by:
returnComponentLogger
in interfaceorg.codehaus.plexus.logging.LoggerManager
-
getThreshold
public int getThreshold()Warning: ignored (always return0
).- Specified by:
getThreshold
in interfaceorg.codehaus.plexus.logging.LoggerManager
-
setThreshold
public void setThreshold(int threshold) Warning: ignored.- Specified by:
setThreshold
in interfaceorg.codehaus.plexus.logging.LoggerManager
-
setThresholds
public void setThresholds(int threshold) Warning: ignored.- Specified by:
setThresholds
in interfaceorg.codehaus.plexus.logging.LoggerManager
-
getActiveLoggerCount
public int getActiveLoggerCount()Warning: ignored (always return0
).- Specified by:
getActiveLoggerCount
in interfaceorg.codehaus.plexus.logging.LoggerManager
-