MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / LogToFile

Method LogToFile

src/ZmqLogger.cpp:128–133  ·  view source on GitHub ↗

Log message to a file (if path set)

Source from the content-addressed store, hash-verified

126
127// Log message to a file (if path set)
128void ZmqLogger::LogToFile(std::string message)
129{
130 // Write to log file (if opened, and force it to write to disk in case of a crash)
131 if (log_file.is_open())
132 log_file << message << std::flush;
133}
134
135void ZmqLogger::Path(std::string new_path)
136{

Callers 1

CrashHandler.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected