Class PlexusLoggerWrapper
- java.lang.Object
-
- io.freefair.gradle.plugins.maven.plugin.wrappers.PlexusLoggerWrapper
-
- All Implemented Interfaces:
Logger
public class PlexusLoggerWrapper extends Object implements Logger
MavenLogger
implementation 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 void
debug(String message)
void
debug(String message, Throwable throwable)
void
error(String message)
void
error(String message, Throwable throwable)
void
fatalError(String message)
void
fatalError(String message, Throwable throwable)
Logger
getChildLogger(String name)
String
getName()
int
getThreshold()
void
info(String message)
void
info(String message, Throwable throwable)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalErrorEnabled()
boolean
isInfoEnabled()
boolean
isWarnEnabled()
void
setThreshold(int threshold)
void
warn(String message)
void
warn(String message, Throwable throwable)
-
-
-
Constructor Detail
-
PlexusLoggerWrapper
public PlexusLoggerWrapper(Logger gradleLogger)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceLogger
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceLogger
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceLogger
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceLogger
-
fatalError
public void fatalError(String message)
- Specified by:
fatalError
in interfaceLogger
-
fatalError
public void fatalError(String message, Throwable throwable)
- Specified by:
fatalError
in interfaceLogger
-
isFatalErrorEnabled
public boolean isFatalErrorEnabled()
- Specified by:
isFatalErrorEnabled
in interfaceLogger
-
getThreshold
public int getThreshold()
- Specified by:
getThreshold
in interfaceLogger
-
setThreshold
public void setThreshold(int threshold)
- Specified by:
setThreshold
in interfaceLogger
-
getChildLogger
public Logger getChildLogger(String name)
- Specified by:
getChildLogger
in interfaceLogger
-
-