Class PluginConsoleLogger
java.lang.Object
org.apache.maven.plugin.surefire.log.PluginConsoleLogger
- All Implemented Interfaces:
ConsoleLogger
TODO remove this as thread safety should be handled by the underlying logging framework no need to add complexity
Wrapper logger of miscellaneous implementations of
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.- Since:
- 2.20
- Author:
- Tibor Digana (tibor17)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddebug(CharSequence content, Throwable error) voidvoidvoidvoidvoidbooleanbooleanbooleanbooleanvoidwarning(CharSequence content, Throwable error) void
-
Constructor Details
-
PluginConsoleLogger
public PluginConsoleLogger(org.slf4j.Logger logger)
-
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceConsoleLogger
-
debug
- Specified by:
debugin interfaceConsoleLogger
-
debug
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceConsoleLogger
-
info
- Specified by:
infoin interfaceConsoleLogger
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceConsoleLogger
-
warning
- Specified by:
warningin interfaceConsoleLogger
-
warning
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceConsoleLogger
-
error
- Specified by:
errorin interfaceConsoleLogger
-
error
- Specified by:
errorin interfaceConsoleLogger
-
error
- Specified by:
errorin interfaceConsoleLogger
-