package log

Import Path
	github.com/chromedp/cdproto/log (on go.dev)

Dependency Relation
	imports 9 packages, and imported by 2 packages

Involved Source Files easyjson.go events.go Package log provides the Chrome DevTools Protocol commands, types, and events for the Log domain. Provides access to log entries. Generated by the cdproto-gen command. types.go
Package-Level Type Names (total 12)
/* sort by: | */
ClearParams clears the log. Do executes Log.clear against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *ClearParams : github.com/chromedp/chromedp.Action *ClearParams : github.com/chromedp/chromedp.CallAction *ClearParams : github.com/chromedp/chromedp.EmulateAction *ClearParams : github.com/chromedp/chromedp.EvaluateAction *ClearParams : github.com/chromedp/chromedp.KeyAction *ClearParams : github.com/chromedp/chromedp.MouseAction *ClearParams : github.com/chromedp/chromedp.NavigateAction *ClearParams : github.com/chromedp/chromedp.PollAction *ClearParams : github.com/chromedp/chromedp.QueryAction ClearParams : github.com/goccy/go-json.Marshaler *ClearParams : github.com/goccy/go-json.Unmarshaler ClearParams : github.com/mailru/easyjson.Marshaler *ClearParams : github.com/mailru/easyjson.MarshalerUnmarshaler *ClearParams : github.com/mailru/easyjson.Unmarshaler ClearParams : encoding/json.Marshaler *ClearParams : encoding/json.Unmarshaler func Clear() *ClearParams
DisableParams disables log domain, prevents further log entries from being reported to the client. Do executes Log.disable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *DisableParams : github.com/chromedp/chromedp.Action *DisableParams : github.com/chromedp/chromedp.CallAction *DisableParams : github.com/chromedp/chromedp.EmulateAction *DisableParams : github.com/chromedp/chromedp.EvaluateAction *DisableParams : github.com/chromedp/chromedp.KeyAction *DisableParams : github.com/chromedp/chromedp.MouseAction *DisableParams : github.com/chromedp/chromedp.NavigateAction *DisableParams : github.com/chromedp/chromedp.PollAction *DisableParams : github.com/chromedp/chromedp.QueryAction DisableParams : github.com/goccy/go-json.Marshaler *DisableParams : github.com/goccy/go-json.Unmarshaler DisableParams : github.com/mailru/easyjson.Marshaler *DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *DisableParams : github.com/mailru/easyjson.Unmarshaler DisableParams : encoding/json.Marshaler *DisableParams : encoding/json.Unmarshaler func Disable() *DisableParams
EnableParams enables log domain, sends the entries collected so far to the client by means of the entryAdded notification. Do executes Log.enable against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *EnableParams : github.com/chromedp/chromedp.Action *EnableParams : github.com/chromedp/chromedp.CallAction *EnableParams : github.com/chromedp/chromedp.EmulateAction *EnableParams : github.com/chromedp/chromedp.EvaluateAction *EnableParams : github.com/chromedp/chromedp.KeyAction *EnableParams : github.com/chromedp/chromedp.MouseAction *EnableParams : github.com/chromedp/chromedp.NavigateAction *EnableParams : github.com/chromedp/chromedp.PollAction *EnableParams : github.com/chromedp/chromedp.QueryAction EnableParams : github.com/goccy/go-json.Marshaler *EnableParams : github.com/goccy/go-json.Unmarshaler EnableParams : github.com/mailru/easyjson.Marshaler *EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler *EnableParams : github.com/mailru/easyjson.Unmarshaler EnableParams : encoding/json.Marshaler *EnableParams : encoding/json.Unmarshaler func Enable() *EnableParams
Entry log entry. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#type-LogEntry // Call arguments. Category EntryCategory // Log entry severity. // Line number in the resource. // Identifier of the network request associated with this entry. // Log entry source. // JavaScript stack trace. // Logged text. // Timestamp when this entry was added. // URL of the resource if known. // Identifier of the worker associated with this entry. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface Entry : github.com/goccy/go-json.Marshaler *Entry : github.com/goccy/go-json.Unmarshaler Entry : github.com/mailru/easyjson.Marshaler *Entry : github.com/mailru/easyjson.MarshalerUnmarshaler *Entry : github.com/mailru/easyjson.Unmarshaler Entry : encoding/json.Marshaler *Entry : encoding/json.Unmarshaler
EntryCategory [no description]. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#type-LogEntry MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the EntryCategory as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. EntryCategory : github.com/goccy/go-json.Marshaler *EntryCategory : github.com/goccy/go-json.Unmarshaler EntryCategory : github.com/mailru/easyjson.Marshaler *EntryCategory : github.com/mailru/easyjson.MarshalerUnmarshaler *EntryCategory : github.com/mailru/easyjson.Unmarshaler EntryCategory : encoding/json.Marshaler *EntryCategory : encoding/json.Unmarshaler EntryCategory : expvar.Var EntryCategory : fmt.Stringer const EntryCategoryCors
EventEntryAdded issued when new message was logged. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#event-entryAdded // The entry. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface EventEntryAdded : github.com/goccy/go-json.Marshaler *EventEntryAdded : github.com/goccy/go-json.Unmarshaler EventEntryAdded : github.com/mailru/easyjson.Marshaler *EventEntryAdded : github.com/mailru/easyjson.MarshalerUnmarshaler *EventEntryAdded : github.com/mailru/easyjson.Unmarshaler EventEntryAdded : encoding/json.Marshaler *EventEntryAdded : encoding/json.Unmarshaler
Level log entry severity. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#type-LogEntry MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the Level as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. Level : github.com/goccy/go-json.Marshaler *Level : github.com/goccy/go-json.Unmarshaler Level : github.com/mailru/easyjson.Marshaler *Level : github.com/mailru/easyjson.MarshalerUnmarshaler *Level : github.com/mailru/easyjson.Unmarshaler Level : encoding/json.Marshaler *Level : encoding/json.Unmarshaler Level : expvar.Var Level : fmt.Stringer const LevelError const LevelInfo const LevelVerbose const LevelWarning
Source log entry source. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#type-LogEntry MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the Source as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. Source : github.com/goccy/go-json.Marshaler *Source : github.com/goccy/go-json.Unmarshaler Source : github.com/mailru/easyjson.Marshaler *Source : github.com/mailru/easyjson.MarshalerUnmarshaler *Source : github.com/mailru/easyjson.Unmarshaler Source : encoding/json.Marshaler *Source : encoding/json.Unmarshaler Source : expvar.Var Source : fmt.Stringer const SourceAppcache const SourceDeprecation const SourceIntervention const SourceJavascript const SourceNetwork const SourceOther const SourceRecommendation const SourceRendering const SourceSecurity const SourceStorage const SourceViolation const SourceWorker const SourceXML
StartViolationsReportParams start violation reporting. // Configuration for violations. Do executes Log.startViolationsReport against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *StartViolationsReportParams : github.com/chromedp/chromedp.Action *StartViolationsReportParams : github.com/chromedp/chromedp.CallAction *StartViolationsReportParams : github.com/chromedp/chromedp.EmulateAction *StartViolationsReportParams : github.com/chromedp/chromedp.EvaluateAction *StartViolationsReportParams : github.com/chromedp/chromedp.KeyAction *StartViolationsReportParams : github.com/chromedp/chromedp.MouseAction *StartViolationsReportParams : github.com/chromedp/chromedp.NavigateAction *StartViolationsReportParams : github.com/chromedp/chromedp.PollAction *StartViolationsReportParams : github.com/chromedp/chromedp.QueryAction StartViolationsReportParams : github.com/goccy/go-json.Marshaler *StartViolationsReportParams : github.com/goccy/go-json.Unmarshaler StartViolationsReportParams : github.com/mailru/easyjson.Marshaler *StartViolationsReportParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StartViolationsReportParams : github.com/mailru/easyjson.Unmarshaler StartViolationsReportParams : encoding/json.Marshaler *StartViolationsReportParams : encoding/json.Unmarshaler func StartViolationsReport(config []*ViolationSetting) *StartViolationsReportParams
StopViolationsReportParams stop violation reporting. Do executes Log.stopViolationsReport against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *StopViolationsReportParams : github.com/chromedp/chromedp.Action *StopViolationsReportParams : github.com/chromedp/chromedp.CallAction *StopViolationsReportParams : github.com/chromedp/chromedp.EmulateAction *StopViolationsReportParams : github.com/chromedp/chromedp.EvaluateAction *StopViolationsReportParams : github.com/chromedp/chromedp.KeyAction *StopViolationsReportParams : github.com/chromedp/chromedp.MouseAction *StopViolationsReportParams : github.com/chromedp/chromedp.NavigateAction *StopViolationsReportParams : github.com/chromedp/chromedp.PollAction *StopViolationsReportParams : github.com/chromedp/chromedp.QueryAction StopViolationsReportParams : github.com/goccy/go-json.Marshaler *StopViolationsReportParams : github.com/goccy/go-json.Unmarshaler StopViolationsReportParams : github.com/mailru/easyjson.Marshaler *StopViolationsReportParams : github.com/mailru/easyjson.MarshalerUnmarshaler *StopViolationsReportParams : github.com/mailru/easyjson.Unmarshaler StopViolationsReportParams : encoding/json.Marshaler *StopViolationsReportParams : encoding/json.Unmarshaler func StopViolationsReport() *StopViolationsReportParams
Violation violation type. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#type-ViolationSetting MarshalEasyJSON satisfies easyjson.Marshaler. MarshalJSON satisfies json.Marshaler. String returns the Violation as string value. UnmarshalEasyJSON satisfies easyjson.Unmarshaler. UnmarshalJSON satisfies json.Unmarshaler. Violation : github.com/goccy/go-json.Marshaler *Violation : github.com/goccy/go-json.Unmarshaler Violation : github.com/mailru/easyjson.Marshaler *Violation : github.com/mailru/easyjson.MarshalerUnmarshaler *Violation : github.com/mailru/easyjson.Unmarshaler Violation : encoding/json.Marshaler *Violation : encoding/json.Unmarshaler Violation : expvar.Var Violation : fmt.Stringer const ViolationBlockedEvent const ViolationBlockedParser const ViolationDiscouragedAPIUse const ViolationHandler const ViolationLongLayout const ViolationLongTask const ViolationRecurringHandler
ViolationSetting violation configuration setting. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#type-ViolationSetting // Violation type. // Time threshold to trigger upon. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ViolationSetting : github.com/goccy/go-json.Marshaler *ViolationSetting : github.com/goccy/go-json.Unmarshaler ViolationSetting : github.com/mailru/easyjson.Marshaler *ViolationSetting : github.com/mailru/easyjson.MarshalerUnmarshaler *ViolationSetting : github.com/mailru/easyjson.Unmarshaler ViolationSetting : encoding/json.Marshaler *ViolationSetting : encoding/json.Unmarshaler func StartViolationsReport(config []*ViolationSetting) *StartViolationsReportParams
Package-Level Functions (total 5)
Disable disables log domain, prevents further log entries from being reported to the client. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#method-disable
Enable enables log domain, sends the entries collected so far to the client by means of the entryAdded notification. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#method-enable
StartViolationsReport start violation reporting. See: https://chromedevtools.github.io/devtools-protocol/tot/Log#method-startViolationsReport parameters: config - Configuration for violations.
Package-Level Constants (total 30)
Command names.
Command names.
Command names.
Command names.
Command names.
EntryCategory values.
Level values.
Level values.
Level values.
Level values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Source values.
Violation values.
Violation values.
Violation values.
Violation values.
Violation values.
Violation values.
Violation values.