Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

LogQuery

Selects one node, process session, and stream, with optional sequence, text, channel, level, and UTC nanosecond time filters.

API

Selects one node, process session, and stream, with optional sequence, text, channel, level, and UTC nanosecond time filters.

Namespace: DARTWIC.

#include <dartwic/EngineTypes.h>

Declaration

struct LogQuery {
    std::string owner_node;
    std::string session;
    std::string stream;
    std::string text;
    uint64_t before = 0;
    uint64_t after = 0;
    size_t limit = 250;
    std::string channel;
    std::string level;
    uint64_t from_ns = 0;
    uint64_t to_ns = 0;
};