Struct cdp::log::LogEntry [] [src]

pub struct LogEntry<'a> {
    pub source: LogEntrySource,
    pub level: LogEntryLevel,
    pub text: Cow<'a, str>,
    pub timestamp: Timestamp,
    pub url: Option<Cow<'a, str>>,
    pub line_number: Option<i32>,
    pub stack_trace: Option<StackTrace<'a>>,
    pub network_request_id: Option<RequestId<'a>>,
    pub worker_id: Option<Cow<'a, str>>,
}

[Experimental] Log entry.

Fields

Log entry source.

Log entry severity.

Logged text.

Timestamp when this entry was added.

URL of the resource if known.

Line number in the resource.

JavaScript stack trace.

Identifier of the network request associated with this entry.

Identifier of the worker associated with this entry.

Trait Implementations

impl<'a> Clone for LogEntry<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for LogEntry<'a>
[src]

[src]

Formats the value using the given formatter.

impl<'a> PartialEq for LogEntry<'a>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.