Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SDK_API::log_error

Appends an error line without creating an operator event.

Declaration

bool log_error(const std::string& stream, const std::string& text) {
            return writeLog(stream, text + "\n", "stderr", "error");
        }

Parameters

NameDescription
streamPlugin-local stream name.
textMessage; this helper appends a newline.

Returns

Asynchronous recording admission; formatting may allocate.