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 SummaryFields inherited from interface org.codehaus.plexus.logging.LoggerLEVEL_DEBUG, LEVEL_DISABLED, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
Slf4jLoggerpublic Slf4jLogger(org.slf4j.Logger logger) 
 
- 
- 
Method Details- 
debug- Specified by:
- debugin interface- org.codehaus.plexus.logging.Logger
 
- 
debug- Specified by:
- debugin interface- org.codehaus.plexus.logging.Logger
 
- 
isDebugEnabledpublic boolean isDebugEnabled()- Specified by:
- isDebugEnabledin interface- org.codehaus.plexus.logging.Logger
 
- 
info- Specified by:
- infoin interface- org.codehaus.plexus.logging.Logger
 
- 
info- Specified by:
- infoin interface- org.codehaus.plexus.logging.Logger
 
- 
isInfoEnabledpublic boolean isInfoEnabled()- Specified by:
- isInfoEnabledin interface- org.codehaus.plexus.logging.Logger
 
- 
warn- Specified by:
- warnin interface- org.codehaus.plexus.logging.Logger
 
- 
warn- Specified by:
- warnin interface- org.codehaus.plexus.logging.Logger
 
- 
isWarnEnabledpublic boolean isWarnEnabled()- Specified by:
- isWarnEnabledin interface- org.codehaus.plexus.logging.Logger
 
- 
error- Specified by:
- errorin interface- org.codehaus.plexus.logging.Logger
 
- 
error- Specified by:
- errorin interface- org.codehaus.plexus.logging.Logger
 
- 
isErrorEnabledpublic boolean isErrorEnabled()- Specified by:
- isErrorEnabledin interface- org.codehaus.plexus.logging.Logger
 
- 
fatalError- Specified by:
- fatalErrorin interface- org.codehaus.plexus.logging.Logger
 
- 
fatalError- Specified by:
- fatalErrorin interface- org.codehaus.plexus.logging.Logger
 
- 
isFatalErrorEnabledpublic boolean isFatalErrorEnabled()- Specified by:
- isFatalErrorEnabledin interface- org.codehaus.plexus.logging.Logger
 
- 
getThresholdpublic int getThreshold()Warning: ignored (always return0 == Logger.LEVEL_DEBUG).- Specified by:
- getThresholdin interface- org.codehaus.plexus.logging.Logger
 
- 
setThresholdpublic void setThreshold(int threshold) Warning: ignored.- Specified by:
- setThresholdin interface- org.codehaus.plexus.logging.Logger
 
- 
getChildLoggerWarning: ignored (always returnnull).- Specified by:
- getChildLoggerin interface- org.codehaus.plexus.logging.Logger
 
- 
getName- Specified by:
- getNamein interface- org.codehaus.plexus.logging.Logger
 
 
-