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
source: LogEntrySource
Log entry source.
level: LogEntryLevel
Log entry severity.
text: Cow<'a, str>
Logged text.
timestamp: Timestamp
Timestamp when this entry was added.
url: Option<Cow<'a, str>>
URL of the resource if known.
line_number: Option<i32>
Line number in the resource.
stack_trace: Option<StackTrace<'a>>
JavaScript stack trace.
network_request_id: Option<RequestId<'a>>
Identifier of the network request associated with this entry.
worker_id: Option<Cow<'a, str>>
Identifier of the worker associated with this entry.
Trait Implementations
impl<'a> Clone for LogEntry<'a>[src]
fn clone(&self) -> LogEntry<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more