pub struct LogEntry {
pub source: LogEntrySource,
pub level: LogEntryLevel,
pub text: String,
pub category: Option<LogEntryCategory>,
pub timestamp: Timestamp,
pub url: Option<String>,
pub line_number: Option<JsUInt>,
pub stack_trace: Option<StackTrace>,
pub network_request_id: Option<RequestId>,
pub worker_id: Option<String>,
pub args: Option<Vec<RemoteObject>>,
}Expand description
Log entry.
Fields§
§source: LogEntrySourceLog entry source.
level: LogEntryLevelLog entry severity.
text: StringLogged text.
category: Option<LogEntryCategory>§timestamp: TimestampTimestamp when this entry was added.
url: Option<String>URL of the resource if known.
line_number: Option<JsUInt>Line number in the resource.
stack_trace: Option<StackTrace>JavaScript stack trace.
network_request_id: Option<RequestId>Identifier of the network request associated with this entry.
worker_id: Option<String>Identifier of the worker associated with this entry.
args: 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
impl StructuralPartialEq for LogEntry
Auto Trait Implementations§
impl Freeze for LogEntry
impl RefUnwindSafe for LogEntry
impl Send for LogEntry
impl Sync for LogEntry
impl Unpin for LogEntry
impl UnsafeUnpin 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