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
public class Slf4jLoggerManager extends java.lang.Object implements org.codehaus.plexus.logging.LoggerManagerUse an SLF4JILoggerFactoryas a backing for a PlexusLoggerManager, ignoring Plexus logger API parts that are not classical and probably not really used.- Since:
- 3.1
- Author:
- Jason van Zyl
-
-
Constructor Summary
Constructors Constructor Description Slf4jLoggerManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActiveLoggerCount()Warning: ignored (always return0).org.codehaus.plexus.logging.LoggergetLoggerForComponent(java.lang.String role)org.codehaus.plexus.logging.LoggergetLoggerForComponent(java.lang.String role, java.lang.String hint)The logger name for a component with a non-null hint isrole.hint.intgetThreshold()Warning: ignored (always return0).voidreturnComponentLogger(java.lang.String role)Warning: ignored.voidreturnComponentLogger(java.lang.String role, java.lang.String hint)Warning: ignored.voidsetThreshold(int threshold)Warning: ignored.voidsetThresholds(int threshold)Warning: ignored.
-
-
-
Method Detail
-
getLoggerForComponent
public org.codehaus.plexus.logging.Logger getLoggerForComponent(java.lang.String role)
- Specified by:
getLoggerForComponentin interfaceorg.codehaus.plexus.logging.LoggerManager
-
getLoggerForComponent
public org.codehaus.plexus.logging.Logger getLoggerForComponent(java.lang.String role, java.lang.String hint)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 aboutnullanddefaulthint equivalence?)- Specified by:
getLoggerForComponentin interfaceorg.codehaus.plexus.logging.LoggerManager
-
returnComponentLogger
public void returnComponentLogger(java.lang.String role)
Warning: ignored.- Specified by:
returnComponentLoggerin interfaceorg.codehaus.plexus.logging.LoggerManager
-
returnComponentLogger
public void returnComponentLogger(java.lang.String role, java.lang.String hint)Warning: ignored.- Specified by:
returnComponentLoggerin interfaceorg.codehaus.plexus.logging.LoggerManager
-
getThreshold
public int getThreshold()
Warning: ignored (always return0).- Specified by:
getThresholdin interfaceorg.codehaus.plexus.logging.LoggerManager
-
setThreshold
public void setThreshold(int threshold)
Warning: ignored.- Specified by:
setThresholdin interfaceorg.codehaus.plexus.logging.LoggerManager
-
setThresholds
public void setThresholds(int threshold)
Warning: ignored.- Specified by:
setThresholdsin interfaceorg.codehaus.plexus.logging.LoggerManager
-
getActiveLoggerCount
public int getActiveLoggerCount()
Warning: ignored (always return0).- Specified by:
getActiveLoggerCountin interfaceorg.codehaus.plexus.logging.LoggerManager
-
-