pub struct JsonlTrace { /* private fields */ }Expand description
Appends every event and model call to one JSON Lines file, flushed line by line so a crash keeps what came before it.
Implementations§
Trait Implementations§
Source§impl CallTrace for JsonlTrace
impl CallTrace for JsonlTrace
Source§fn call(&self, call: &TracedCall<'_>)
fn call(&self, call: &TracedCall<'_>)
Records one call.
Source§impl Debug for JsonlTrace
impl Debug for JsonlTrace
Source§impl TurnTrace for JsonlTrace
impl TurnTrace for JsonlTrace
Source§fn event(&self, event: &TraceEvent<'_>)
fn event(&self, event: &TraceEvent<'_>)
Records one event.
Auto Trait Implementations§
impl !Freeze for JsonlTrace
impl RefUnwindSafe for JsonlTrace
impl Send for JsonlTrace
impl Sync for JsonlTrace
impl Unpin for JsonlTrace
impl UnsafeUnpin for JsonlTrace
impl UnwindSafe for JsonlTrace
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