 |
Belle II Software
release-05-02-19
|
11 #include <framework/logging/LogConnectionJSON.h>
12 #include <framework/logging/LogMessage.h>
13 #include <boost/property_tree/json_parser.hpp>
bool isConnected() override
Returns true if the connection to the text file could be established.
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.
Abstract base class for different kinds of events.
LogConnectionJSON(bool complete=false)
The constructor.
void write(const std::string &message)
Send a preformatted string message to the connected output.
bool sendMessage(const LogMessage &message) override
Sends a log message.