11#include <framework/logging/LogConnectionBase.h>
12#include <framework/logging/LogMessage.h>
Abstract base class for the different types of log connections.
Implements a log connection that filters repeated messages.
std::unique_ptr< LogConnectionBase > m_logConnection
The actual log connection.
void printRepetitions()
If there are repeated messages print the number of repetitions.
int m_repeatCounter
Counter for repeated messages.
virtual ~LogConnectionFilter()
The LogConnectionFilter destructor.
LogMessage m_previousMessage
The previous log message.
bool isConnected() override
Returns true if the log connection could be established.
bool sendMessage(const LogMessage &message) override
Sends a log message.
void finalizeOnAbort() override
Finalize on Abort: make sure last repetition is printed if there is any and that connected connection...
Abstract base class for different kinds of events.