Class PlexusLoggerWrapper
- java.lang.Object
-
- io.freefair.gradle.plugins.maven.plugin.wrappers.PlexusLoggerWrapper
-
- All Implemented Interfaces:
org.codehaus.plexus.logging.Logger
public class PlexusLoggerWrapper extends java.lang.Object implements org.codehaus.plexus.logging.Logger
MavenLogger
implementation which delegates to agradle logger
.
-
-
Constructor Summary
Constructors Constructor Description PlexusLoggerWrapper(Logger gradleLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(java.lang.String message)
void
debug(java.lang.String message, java.lang.Throwable throwable)
void
error(java.lang.String message)
void
error(java.lang.String message, java.lang.Throwable throwable)
void
fatalError(java.lang.String message)
void
fatalError(java.lang.String message, java.lang.Throwable throwable)
org.codehaus.plexus.logging.Logger
getChildLogger(java.lang.String name)
java.lang.String
getName()
int
getThreshold()
void
info(java.lang.String message)
void
info(java.lang.String message, java.lang.Throwable throwable)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isFatalErrorEnabled()
boolean
isInfoEnabled()
boolean
isWarnEnabled()
void
setThreshold(int threshold)
void
warn(java.lang.String message)
void
warn(java.lang.String message, java.lang.Throwable throwable)
-
-
-
Constructor Detail
-
PlexusLoggerWrapper
public PlexusLoggerWrapper(Logger gradleLogger)
-
-
Method Detail
-
debug
public void debug(java.lang.String message)
- Specified by:
debug
in interfaceorg.codehaus.plexus.logging.Logger
-
debug
public void debug(java.lang.String message, java.lang.Throwable throwable)
- Specified by:
debug
in interfaceorg.codehaus.plexus.logging.Logger
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.codehaus.plexus.logging.Logger
-
info
public void info(java.lang.String message)
- Specified by:
info
in interfaceorg.codehaus.plexus.logging.Logger
-
info
public void info(java.lang.String message, java.lang.Throwable throwable)
- Specified by:
info
in interfaceorg.codehaus.plexus.logging.Logger
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.codehaus.plexus.logging.Logger
-
warn
public void warn(java.lang.String message)
- Specified by:
warn
in interfaceorg.codehaus.plexus.logging.Logger
-
warn
public void warn(java.lang.String message, java.lang.Throwable throwable)
- Specified by:
warn
in interfaceorg.codehaus.plexus.logging.Logger
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceorg.codehaus.plexus.logging.Logger
-
error
public void error(java.lang.String message)
- Specified by:
error
in interfaceorg.codehaus.plexus.logging.Logger
-
error
public void error(java.lang.String message, java.lang.Throwable throwable)
- Specified by:
error
in interfaceorg.codehaus.plexus.logging.Logger
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.codehaus.plexus.logging.Logger
-
fatalError
public void fatalError(java.lang.String message)
- Specified by:
fatalError
in interfaceorg.codehaus.plexus.logging.Logger
-
fatalError
public void fatalError(java.lang.String message, java.lang.Throwable throwable)
- Specified by:
fatalError
in interfaceorg.codehaus.plexus.logging.Logger
-
isFatalErrorEnabled
public boolean isFatalErrorEnabled()
- Specified by:
isFatalErrorEnabled
in interfaceorg.codehaus.plexus.logging.Logger
-
getThreshold
public int getThreshold()
- Specified by:
getThreshold
in interfaceorg.codehaus.plexus.logging.Logger
-
setThreshold
public void setThreshold(int threshold)
- Specified by:
setThreshold
in interfaceorg.codehaus.plexus.logging.Logger
-
getChildLogger
public org.codehaus.plexus.logging.Logger getChildLogger(java.lang.String name)
- Specified by:
getChildLogger
in interfaceorg.codehaus.plexus.logging.Logger
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.codehaus.plexus.logging.Logger
-
-