Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SDK_API::log

Appends an info line to a plugin-local ARGUS stream.

Declaration

bool log(const std::string& stream, const std::string& text) {
            return writeLog(stream, text + "\n", "stdout", "info");
        }

Parameters

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

Returns

Asynchronous recording admission, not persistence or delivery.

Example

api.log("Bus", "Device connected");