28 #ifndef OPENSHOT_LOGGER_H
29 #define OPENSHOT_LOGGER_H
32 #include "JuceLibraryCode/JuceHeader.h"
57 CriticalSection loggerCriticalSection;
66 zmq::context_t *context;
69 zmq::socket_t *publisher;
96 void AppendDebugMethod(
string method_name,
string arg1_name,
float arg1_value,
97 string arg2_name,
float arg2_value,
98 string arg3_name,
float arg3_value,
99 string arg4_name,
float arg4_value,
100 string arg5_name,
float arg5_value,
101 string arg6_name,
float arg6_value);
107 void Connection(
string new_connection);
110 void Enable(
bool is_enabled) { enabled = is_enabled;};
113 void Path(
string new_path);
116 void Log(
string message);
119 void LogToFile(
string message);
void Enable(bool is_enabled)
Enable/Disable logging.
This class is used for logging and sending those logs over a ZemoMQ socket to a listener.