Class PluginConsoleLogger
- java.lang.Object
-
- org.apache.maven.plugin.surefire.log.PluginConsoleLogger
-
- All Implemented Interfaces:
org.apache.maven.plugin.surefire.log.api.ConsoleLogger
public final class PluginConsoleLogger extends java.lang.Object implements org.apache.maven.plugin.surefire.log.api.ConsoleLoggerWrapper logger of miscellaneous implementations ofLogger. This instance is synchronized. The logger operations are mutually exclusive to standard out, standard err and console err/warn/info/debug logger operations, seeDefaultReporterFactory,TestSetRunListener.- Since:
- 2.20
- Author:
- Tibor Digana (tibor17)
- See Also:
ConsoleLogger
-
-
Constructor Summary
Constructors Constructor Description PluginConsoleLogger(org.slf4j.Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(java.lang.CharSequence content, java.lang.Throwable error)voiddebug(java.lang.String message)voiderror(java.lang.String message)voiderror(java.lang.String message, java.lang.Throwable t)voiderror(java.lang.Throwable t)voidinfo(java.lang.String message)booleanisDebugEnabled()booleanisErrorEnabled()booleanisInfoEnabled()booleanisWarnEnabled()voidwarning(java.lang.CharSequence content, java.lang.Throwable error)voidwarning(java.lang.String message)
-
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
debug
public void debug(java.lang.String message)
- Specified by:
debugin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
debug
public void debug(java.lang.CharSequence content, java.lang.Throwable error)
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
info
public void info(java.lang.String message)
- Specified by:
infoin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
warning
public void warning(java.lang.String message)
- Specified by:
warningin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
warning
public void warning(java.lang.CharSequence content, java.lang.Throwable error)
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
public void error(java.lang.String message)
- Specified by:
errorin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
public void error(java.lang.String message, java.lang.Throwable t)- Specified by:
errorin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
public void error(java.lang.Throwable t)
- Specified by:
errorin interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
-