public final class PluginConsoleLogger extends Object implements org.apache.maven.plugin.surefire.log.api.ConsoleLogger
Logger.
This instance is synchronized. The logger operations are mutually exclusive to standard out, standard err and console
err/warn/info/debug logger operations, see DefaultReporterFactory,
TestSetRunListener.ConsoleLogger| Constructor and Description |
|---|
PluginConsoleLogger(org.codehaus.plexus.logging.Logger plexusLogger) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(CharSequence content,
Throwable error) |
void |
debug(String message) |
void |
error(String message) |
void |
error(String message,
Throwable t) |
void |
error(Throwable t) |
void |
info(String message) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isInfoEnabled() |
boolean |
isWarnEnabled() |
void |
warning(CharSequence content,
Throwable error) |
void |
warning(String message) |
public PluginConsoleLogger(org.codehaus.plexus.logging.Logger plexusLogger)
public boolean isDebugEnabled()
isDebugEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void debug(String message)
debug in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void debug(CharSequence content, Throwable error)
public boolean isInfoEnabled()
isInfoEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void info(String message)
info in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic boolean isWarnEnabled()
isWarnEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void warning(String message)
warning in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void warning(CharSequence content, Throwable error)
public boolean isErrorEnabled()
isErrorEnabled in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void error(String message)
error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void error(String message, Throwable t)
error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerpublic void error(Throwable t)
error in interface org.apache.maven.plugin.surefire.log.api.ConsoleLoggerCopyright © 2004–2023 The Apache Software Foundation. All rights reserved.