Class PluginConsoleLogger
java.lang.Object
org.apache.maven.plugins.surefire.report.PluginConsoleLogger
- All Implemented Interfaces:
org.apache.maven.plugin.surefire.log.api.ConsoleLogger
final class PluginConsoleLogger
extends Object
implements org.apache.maven.plugin.surefire.log.api.ConsoleLogger
Wrapper logger of miscellaneous implementations of
Log
.- Since:
- 2.20
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
bufferSize
(CharSequence message) private static org.apache.maven.shared.utils.logging.MessageBuilder
createAnsiBuilder
(CharSequence message) void
debug
(CharSequence content, Throwable error) void
void
void
void
void
boolean
boolean
boolean
boolean
void
warn
(CharSequence content, Throwable error) void
-
Field Details
-
mojoLogger
private final org.apache.maven.plugin.logging.Log mojoLogger
-
-
Constructor Details
-
PluginConsoleLogger
PluginConsoleLogger(org.apache.maven.plugin.logging.Log mojoLogger)
-
-
Method Details
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
debug
- Specified by:
debug
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
debug
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
info
- Specified by:
info
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
warning
- Specified by:
warning
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
warn
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
error
- Specified by:
error
in interfaceorg.apache.maven.plugin.surefire.log.api.ConsoleLogger
-
createAnsiBuilder
private static org.apache.maven.shared.utils.logging.MessageBuilder createAnsiBuilder(CharSequence message) -
bufferSize
-