Interface ConsoleLogger
- All Known Implementing Classes:
ConsoleLoggerDecorator
,NullConsoleLogger
,PrintStreamLogger
public interface ConsoleLogger
Allows providers to write console messages on the running maven process.
This output is associated with the entire test run and not a specific test, which means it just goes "straight" to the console "immediately".
This interface is used in org.apache.maven.plugin.surefire.CommonReflector and reflected via IsolatedClassLoader which can see classes from JRE only. This interface MUST use JRE types in method signatures, e.g.
This output is associated with the entire test run and not a specific test, which means it just goes "straight" to the console "immediately".
This interface is used in org.apache.maven.plugin.surefire.CommonReflector and reflected via IsolatedClassLoader which can see classes from JRE only. This interface MUST use JRE types in method signatures, e.g.
String
or Throwable
, etc.-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
Simply delegates toerror( toString( t, message ) )
.void
Simply delegates to methoderror(null, Throwable)
.void
boolean
boolean
boolean
boolean
void
-
Method Details
-
isDebugEnabled
boolean isDebugEnabled() -
debug
-
isInfoEnabled
boolean isInfoEnabled() -
info
-
isWarnEnabled
boolean isWarnEnabled() -
warning
-
isErrorEnabled
boolean isErrorEnabled() -
error
- Parameters:
message
- message to log
-
error
Simply delegates toerror( toString( t, message ) )
.- Parameters:
message
- message to logt
- exception, message and trace to log
-
error
Simply delegates to methoderror(null, Throwable)
.- Parameters:
t
- exception, message and trace to log
-