public final class PluginConsoleLogger extends Object implements 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 ConsoleLogger
public void debug(String message)
debug
in interface ConsoleLogger
public void debug(CharSequence content, Throwable error)
public boolean isInfoEnabled()
isInfoEnabled
in interface ConsoleLogger
public void info(String message)
info
in interface ConsoleLogger
public boolean isWarnEnabled()
isWarnEnabled
in interface ConsoleLogger
public void warning(String message)
warning
in interface ConsoleLogger
public void warning(CharSequence content, Throwable error)
public boolean isErrorEnabled()
isErrorEnabled
in interface ConsoleLogger
public void error(String message)
error
in interface ConsoleLogger
public void error(String message, Throwable t)
error
in interface ConsoleLogger
public void error(Throwable t)
error
in interface ConsoleLogger
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.