Belle II Software light-2406-ragdoll
|
Abstract base class for the different types of log connections. More...
#include <LogConnectionBase.h>
Public Member Functions | |
LogConnectionBase () | |
The LogConnectionBase default constructor. | |
virtual | ~LogConnectionBase () |
The LogConnectionBase destructor. | |
virtual bool | sendMessage (const LogMessage &message)=0 |
Sends a log message. | |
virtual bool | isConnected ()=0 |
Returns true if the connection could be established. | |
virtual void | finalizeOnAbort () |
Called just before the system exists after a fatal error. | |
Abstract base class for the different types of log connections.
Definition at line 21 of file LogConnectionBase.h.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Called just before the system exists after a fatal error.
Can be used to flush the output or close the file
Reimplemented in LogConnectionConsole, LogConnectionFilter, LogConnectionJSON, and LogConnectionTxtFile.
Definition at line 48 of file LogConnectionBase.h.
|
pure virtual |
Returns true if the connection could be established.
Implemented in LogConnectionUDP, LogConnectionConsole, LogConnectionFilter, LogConnectionJSON, and LogConnectionTxtFile.
|
pure virtual |
Sends a log message.
message | The log message object. |
Implemented in LogConnectionUDP, LogConnectionConsole, LogConnectionFilter, LogConnectionJSON, and LogConnectionTxtFile.