Class PlexusLoggerWrapper
- java.lang.Object
-
- io.freefair.gradle.plugins.maven.plugin.wrappers.PlexusLoggerWrapper
-
- All Implemented Interfaces:
Logger
public class PlexusLoggerWrapper extends Object implements Logger
MavenLoggerimplementation which delegates to agradle logger.
-
-
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 Constructor Description PlexusLoggerWrapper(Logger gradleLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(String message)voiddebug(String message, Throwable throwable)voiderror(String message)voiderror(String message, Throwable throwable)voidfatalError(String message)voidfatalError(String message, Throwable throwable)LoggergetChildLogger(String name)StringgetName()intgetThreshold()voidinfo(String message)voidinfo(String message, Throwable throwable)booleanisDebugEnabled()booleanisErrorEnabled()booleanisFatalErrorEnabled()booleanisInfoEnabled()booleanisWarnEnabled()voidsetThreshold(int threshold)voidwarn(String message)voidwarn(String message, Throwable throwable)
-
-
-
Constructor Detail
-
PlexusLoggerWrapper
public PlexusLoggerWrapper(Logger gradleLogger)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceLogger
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceLogger
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceLogger
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceLogger
-
fatalError
public void fatalError(String message)
- Specified by:
fatalErrorin interfaceLogger
-
fatalError
public void fatalError(String message, Throwable throwable)
- Specified by:
fatalErrorin interfaceLogger
-
isFatalErrorEnabled
public boolean isFatalErrorEnabled()
- Specified by:
isFatalErrorEnabledin interfaceLogger
-
getThreshold
public int getThreshold()
- Specified by:
getThresholdin interfaceLogger
-
setThreshold
public void setThreshold(int threshold)
- Specified by:
setThresholdin interfaceLogger
-
getChildLogger
public Logger getChildLogger(String name)
- Specified by:
getChildLoggerin interfaceLogger
-
-