Class LoggingReporter

java.lang.Object
org.citrusframework.report.AbstractTestReporter
org.citrusframework.report.LoggingReporter
All Implemented Interfaces:
MessageListener, TestActionListener, TestListener, TestReporter, TestSuiteListener
Direct Known Subclasses:
OutputStreamReporter

public class LoggingReporter extends AbstractTestReporter implements MessageListener, TestSuiteListener, TestListener, TestActionListener
Simple logging reporter printing test start and ending to the console/logger.

This class provides an option for disablement, allowing you to suppress logging for specific instances and delegate the logging to another facility, which could potentially be a subclass of LoggingReporter. It's important to note that when an instance of this class is disabled, it will not perform any logging, irrespective of the severity level.

Implementation note: The disablement of the reporter is achieved by using a NOPLogger, meaning that this class should primarily focus on logging operations and not extend beyond that functionality.