pub struct LogEntry { /* private fields */ }Available on crate features
Log and Runtime and Network only.Expand description
Log entry.
Implementations§
Source§impl LogEntry
impl LogEntry
pub fn builder() -> LogEntryBuilder
Sourcepub fn source(&self) -> &LogEntrySource
pub fn source(&self) -> &LogEntrySource
Log entry source.
Sourcepub fn level(&self) -> &LogEntryLevel
pub fn level(&self) -> &LogEntryLevel
Log entry severity.
Sourcepub fn line_number(&self) -> Option<&u32>
pub fn line_number(&self) -> Option<&u32>
Line number in the resource.
Sourcepub fn stack_trace(&self) -> Option<&StackTrace>
pub fn stack_trace(&self) -> Option<&StackTrace>
JavaScript stack trace.
Sourcepub fn network_request_id(&self) -> Option<&RequestId>
pub fn network_request_id(&self) -> Option<&RequestId>
Identifier of the network request associated with this entry.
Sourcepub fn worker_id(&self) -> Option<&String>
pub fn worker_id(&self) -> Option<&String>
Identifier of the worker associated with this entry.
Sourcepub fn args(&self) -> Option<&Vec<RemoteObject>>
pub fn args(&self) -> Option<&Vec<RemoteObject>>
Call arguments.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogEntry
impl<'de> Deserialize<'de> for LogEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnwindSafe for LogEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more