This subclass of JsonHandler processes the JSON requests for the Logging
namespace of the JSON-RPC API. More...
Header: | #include <LoggingHandler> |
Inherits: | JsonHandler |
LoggingHandler(QObject * parent = nullptr) |
virtual QString | name() const |
void | LogDatabaseUpdated(const QVariantMap & params) |
void | LogEntryAdded(const QVariantMap & params) |
This subclass of JsonHandler processes the JSON requests for the Logging
namespace of the JSON-RPC API.
This JsonHandler will be created in the JsonRPCServer and used to handle JSON-RPC requests for the Logging
namespace of the API.
See also LogEngine, JsonHandler, and JsonRPCServer.
Constructs a new LoggingHandler with the given parent.
[signal]
void LoggingHandler::LogDatabaseUpdated(const QVariantMap & params)This signal is emitted to the API notifications when the logging aatabase has been updated (i.e. Device or Rule removed). The params contain the map for the notification.
[signal]
void LoggingHandler::LogEntryAdded(const QVariantMap & params)This signal is emitted to the API notifications when a LogEntry was added to the database. The params contain the map for the notification.
[virtual]
QString LoggingHandler::name() constReimplemented from JsonHandler::name().
Returns the name of the LoggingHandler. In this case Logging.