pub struct LogEntryBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> LogEntryBuilder<'a>
impl<'a> LogEntryBuilder<'a>
pub fn category(self, category: impl Into<Cow<'a, str>>) -> Self
Sourcepub fn line_number(self, line_number: i64) -> Self
pub fn line_number(self, line_number: i64) -> Self
Line number in the resource.
Sourcepub fn stack_trace(self, stack_trace: StackTrace) -> Self
pub fn stack_trace(self, stack_trace: StackTrace) -> Self
JavaScript stack trace.
Sourcepub fn network_request_id(self, network_request_id: RequestId<'a>) -> Self
pub fn network_request_id(self, network_request_id: RequestId<'a>) -> Self
Identifier of the network request associated with this entry.
Sourcepub fn worker_id(self, worker_id: impl Into<Cow<'a, str>>) -> Self
pub fn worker_id(self, worker_id: impl Into<Cow<'a, str>>) -> Self
Identifier of the worker associated with this entry.
Sourcepub fn args(self, args: Vec<RemoteObject>) -> Self
pub fn args(self, args: Vec<RemoteObject>) -> Self
Call arguments.
pub fn build(self) -> LogEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for LogEntryBuilder<'a>
impl<'a> RefUnwindSafe for LogEntryBuilder<'a>
impl<'a> Send for LogEntryBuilder<'a>
impl<'a> Sync for LogEntryBuilder<'a>
impl<'a> Unpin for LogEntryBuilder<'a>
impl<'a> UnsafeUnpin for LogEntryBuilder<'a>
impl<'a> UnwindSafe for LogEntryBuilder<'a>
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