|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Filter shared by event_read and event_wait. More...
#include <server_p.h>
Public Member Functions | |
| bool | matches (const Event &event) const |
Whether event passes the filter. | |
Static Public Member Functions | |
| static std::optional< EventFilter > | fromArguments (const QJsonObject &args, QString *error) |
| Parses the common filter arguments of event_read/event_wait. | |
Public Attributes | |
| QStringList | sources |
| Accepted source names; empty accepts all. | |
| LogLevel | minLevel = LogLevel::Debug |
| Minimum severity. | |
| QString | contains |
| Case-insensitive substring of message or category. | |
| QRegularExpression | regex |
| Pattern matched against message or category. | |
| quint64 | since = 0 |
| Only events with a greater sequence number. | |
Filter shared by event_read and event_wait.
|
static |
Parses the common filter arguments of event_read/event_wait.
error set.