Package org.apache.maven.plugin.testing
Class MojoLogWrapper
- java.lang.Object
-
- org.apache.maven.plugin.testing.MojoLogWrapper
-
- All Implemented Interfaces:
org.apache.maven.plugin.logging.Log
@Deprecated public class MojoLogWrapper extends java.lang.Object implements org.apache.maven.plugin.logging.LogDeprecated.As of version 3.4.0, it is advised to work with JUnit5 tests which do not use this class butInjectto inject a Log instance instead.- Author:
- jdcasey
-
-
Constructor Summary
Constructors Constructor Description MojoLogWrapper(org.slf4j.Logger logger)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddebug(java.lang.CharSequence content)Deprecated.voiddebug(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.voiddebug(java.lang.Throwable error)Deprecated.voiderror(java.lang.CharSequence content)Deprecated.voiderror(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.voiderror(java.lang.Throwable error)Deprecated.voidinfo(java.lang.CharSequence content)Deprecated.voidinfo(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.voidinfo(java.lang.Throwable error)Deprecated.booleanisDebugEnabled()Deprecated.booleanisErrorEnabled()Deprecated.booleanisInfoEnabled()Deprecated.booleanisWarnEnabled()Deprecated.voidwarn(java.lang.CharSequence content)Deprecated.voidwarn(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.voidwarn(java.lang.Throwable error)Deprecated.
-
-
-
Method Detail
-
debug
public void debug(java.lang.CharSequence content)
Deprecated.- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
debug
public void debug(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
debug
public void debug(java.lang.Throwable error)
Deprecated.- Specified by:
debugin interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(java.lang.CharSequence content)
Deprecated.- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
info
public void info(java.lang.Throwable error)
Deprecated.- Specified by:
infoin interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(java.lang.CharSequence content)
Deprecated.- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
warn
public void warn(java.lang.Throwable error)
Deprecated.- Specified by:
warnin interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(java.lang.CharSequence content)
Deprecated.- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(java.lang.CharSequence content, java.lang.Throwable error)Deprecated.- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
error
public void error(java.lang.Throwable error)
Deprecated.- Specified by:
errorin interfaceorg.apache.maven.plugin.logging.Log
-
isDebugEnabled
public boolean isDebugEnabled()
Deprecated.- Specified by:
isDebugEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()
Deprecated.- Specified by:
isInfoEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()
Deprecated.- Specified by:
isWarnEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()
Deprecated.- Specified by:
isErrorEnabledin interfaceorg.apache.maven.plugin.logging.Log
-
-