Skip to main content

cdp_driver/methods/
log.rs

1// @generated by `just generate-methods` from protocol/*.json.
2// Do not edit by hand; edit xtask/ and regenerate.
3
4//! Provides access to log entries.
5//!
6//! Method names for the `Log` domain, for use with
7//! [`CdpClient::call`](crate::CdpClient::call).
8
9/// Clears the log.
10pub const CLEAR: &str = "Log.clear";
11
12/// Disables log domain, prevents further log entries from being reported to
13/// the client.
14pub const DISABLE: &str = "Log.disable";
15
16/// Enables log domain, sends the entries collected so far to the client by
17/// means of the `entryAdded` notification.
18pub const ENABLE: &str = "Log.enable";
19
20/// start violation reporting.
21///
22/// Parameters:
23/// - `config`: array
24pub const START_VIOLATIONS_REPORT: &str = "Log.startViolationsReport";
25
26/// Stop violation reporting.
27pub const STOP_VIOLATIONS_REPORT: &str = "Log.stopViolationsReport";