Package io.webfolder.cdp.command
Interface LogAsync
public interface LogAsync
Provides access to log entries.
-
Method Summary
Modifier and TypeMethodDescriptionclear()
Clears the log.disable()
Disables log domain, prevents further log entries from being reported to the client.enable()
Enables log domain, sends the entries collected so far to the client by means of the entryAdded notification.startViolationsReport
(List<ViolationSetting> config) start violation reporting.Stop violation reporting.
-
Method Details
-
clear
CompletableFuture<Void> clear()Clears the log. -
disable
CompletableFuture<Void> disable()Disables log domain, prevents further log entries from being reported to the client. -
enable
CompletableFuture<Void> enable()Enables log domain, sends the entries collected so far to the client by means of the entryAdded notification. -
startViolationsReport
start violation reporting.- Parameters:
config
- Configuration for violations.
-
stopViolationsReport
CompletableFuture<Void> stopViolationsReport()Stop violation reporting.
-