Class MavenLogWrapper
- java.lang.Object
-
- io.freefair.gradle.plugins.maven.plugin.wrappers.MavenLogWrapper
-
- All Implemented Interfaces:
org.apache.maven.plugin.logging.Log
public class MavenLogWrapper extends Object implements org.apache.maven.plugin.logging.Log
MavenLog
implementation which delegates to agradle logger
.
-
-
Constructor Summary
Constructors Constructor Description MavenLogWrapper(Logger gradleLogger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(CharSequence content)
void
debug(CharSequence content, Throwable error)
void
debug(Throwable error)
void
error(CharSequence content)
void
error(CharSequence content, Throwable error)
void
error(Throwable error)
void
info(CharSequence content)
void
info(CharSequence content, Throwable error)
void
info(Throwable error)
boolean
isDebugEnabled()
boolean
isErrorEnabled()
boolean
isInfoEnabled()
boolean
isWarnEnabled()
void
warn(CharSequence content)
void
warn(CharSequence content, Throwable error)
void
warn(Throwable error)
-
-
-
Constructor Detail
-
MavenLogWrapper
public MavenLogWrapper(Logger gradleLogger)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceorg.apache.maven.plugin.logging.Log
-
debug
public void debug(CharSequence content)
- Specified by:
debug
in interfaceorg.apache.maven.plugin.logging.Log
-
debug
public void debug(CharSequence content, Throwable error)
- Specified by:
debug
in interfaceorg.apache.maven.plugin.logging.Log
-
debug
public void debug(Throwable error)
- Specified by:
debug
in interfaceorg.apache.maven.plugin.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled
in interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(CharSequence content)
- Specified by:
info
in interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(CharSequence content, Throwable error)
- Specified by:
info
in interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(Throwable error)
- Specified by:
info
in interfaceorg.apache.maven.plugin.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled
in interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(CharSequence content)
- Specified by:
warn
in interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(CharSequence content, Throwable error)
- Specified by:
warn
in interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(Throwable error)
- Specified by:
warn
in interfaceorg.apache.maven.plugin.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled
in interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(CharSequence content)
- Specified by:
error
in interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(CharSequence content, Throwable error)
- Specified by:
error
in interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(Throwable error)
- Specified by:
error
in interfaceorg.apache.maven.plugin.logging.Log
-
-