Class MavenLogWrapper
- java.lang.Object
-
- io.freefair.gradle.plugins.maven.plugin.wrappers.MavenLogWrapper
-
- All Implemented Interfaces:
Log
public class MavenLogWrapper extends Object implements Log
MavenLogimplementation 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 voiddebug(CharSequence content)voiddebug(CharSequence content, Throwable error)voiddebug(Throwable error)voiderror(CharSequence content)voiderror(CharSequence content, Throwable error)voiderror(Throwable error)voidinfo(CharSequence content)voidinfo(CharSequence content, Throwable error)voidinfo(Throwable error)booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisWarnEnabled()voidwarn(CharSequence content)voidwarn(CharSequence content, Throwable error)voidwarn(Throwable error)
-
-
-
Constructor Detail
-
MavenLogWrapper
public MavenLogWrapper(Logger gradleLogger)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceLog
-
debug
public void debug(CharSequence content)
-
debug
public void debug(CharSequence content, Throwable error)
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceLog
-
info
public void info(CharSequence content)
-
info
public void info(CharSequence content, Throwable error)
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceLog
-
warn
public void warn(CharSequence content)
-
warn
public void warn(CharSequence content, Throwable error)
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceLog
-
error
public void error(CharSequence content)
-
error
public void error(CharSequence content, Throwable error)
-
-