Package org.apache.maven.cli.logging
Class Slf4jLogger
java.lang.Object
org.apache.maven.cli.logging.Slf4jLogger
- All Implemented Interfaces:
 org.codehaus.plexus.logging.Logger
Adapt an SLF4J logger to a Plexus logger, ignoring Plexus logger API parts that are not classical and
 probably not really used.
- Since:
 - 3.1.0
 - Author:
 - Jason van Zyl
 
- 
Field Summary
Fields inherited from interface org.codehaus.plexus.logging.Logger
LEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidfatalError(String message) voidfatalError(String message, Throwable throwable) org.codehaus.plexus.logging.LoggergetChildLogger(String name) Warning: ignored (always returnnull).getName()intWarning: ignored (always return0 == Logger.LEVEL_DEBUG).voidvoidbooleanbooleanbooleanbooleanbooleanvoidsetThreshold(int threshold) Warning: ignored.voidvoid 
- 
Constructor Details
- 
Slf4jLogger
public Slf4jLogger(org.slf4j.Logger logger)  
 - 
 - 
Method Details
- 
debug
- Specified by:
 debugin interfaceorg.codehaus.plexus.logging.Logger
 - 
debug
- Specified by:
 debugin interfaceorg.codehaus.plexus.logging.Logger
 - 
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
 isDebugEnabledin interfaceorg.codehaus.plexus.logging.Logger
 - 
info
- Specified by:
 infoin interfaceorg.codehaus.plexus.logging.Logger
 - 
info
- Specified by:
 infoin interfaceorg.codehaus.plexus.logging.Logger
 - 
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
 isInfoEnabledin interfaceorg.codehaus.plexus.logging.Logger
 - 
warn
- Specified by:
 warnin interfaceorg.codehaus.plexus.logging.Logger
 - 
warn
- Specified by:
 warnin interfaceorg.codehaus.plexus.logging.Logger
 - 
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
 isWarnEnabledin interfaceorg.codehaus.plexus.logging.Logger
 - 
error
- Specified by:
 errorin interfaceorg.codehaus.plexus.logging.Logger
 - 
error
- Specified by:
 errorin interfaceorg.codehaus.plexus.logging.Logger
 - 
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
 isErrorEnabledin interfaceorg.codehaus.plexus.logging.Logger
 - 
fatalError
- Specified by:
 fatalErrorin interfaceorg.codehaus.plexus.logging.Logger
 - 
fatalError
- Specified by:
 fatalErrorin interfaceorg.codehaus.plexus.logging.Logger
 - 
isFatalErrorEnabled
public boolean isFatalErrorEnabled()- Specified by:
 isFatalErrorEnabledin interfaceorg.codehaus.plexus.logging.Logger
 - 
getThreshold
public int getThreshold()Warning: ignored (always return0 == Logger.LEVEL_DEBUG).- Specified by:
 getThresholdin interfaceorg.codehaus.plexus.logging.Logger
 - 
setThreshold
public void setThreshold(int threshold) Warning: ignored.- Specified by:
 setThresholdin interfaceorg.codehaus.plexus.logging.Logger
 - 
getChildLogger
Warning: ignored (always returnnull).- Specified by:
 getChildLoggerin interfaceorg.codehaus.plexus.logging.Logger
 - 
getName
- Specified by:
 getNamein interfaceorg.codehaus.plexus.logging.Logger
 
 -