 |
Belle II Software
release-05-02-19
|
13 #include <framework/logging/LogConnectionConsole.h>
28 class LogConnectionJSON final:
public LogConnectionBase {
bool isConnected() override
Returns true if the connection to the text file could be established.
void finalizeOnAbort() override
Make sure output is flushed on abort.
LogConnectionConsole m_console
LogConnection to the console we use to dispatch the json objects.
bool m_complete
If true ignore the log message format settings and output everything.
~LogConnectionJSON() override=default
The LogConnectionJSONFile destructor.
bool isConnected() override
Returns true if the connection to the io stream could be established.
Abstract base class for different kinds of events.
LogConnectionJSON(bool complete=false)
The constructor.
void finalizeOnAbort() override
Finalize on Abort: make sure that connected connection is finalized.
Implements a log connection to an IO Stream.
bool sendMessage(const LogMessage &message) override
Sends a log message.