pub enum LogFormatFields {
Json(JsonFields),
Pretty(PrettyFields),
Default(DefaultFields),
}Variants§
Trait Implementations§
Source§impl<'a> FormatFields<'a> for LogFormatFields
impl<'a> FormatFields<'a> for LogFormatFields
Source§fn format_fields<R: RecordFields>(
&self,
writer: Writer<'a>,
fields: R,
) -> Result
fn format_fields<R: RecordFields>( &self, writer: Writer<'a>, fields: R, ) -> Result
Format the provided
fields to the provided Writer, returning a result.Source§fn add_fields(
&self,
current: &'writer mut FormattedFields<Self>,
fields: &Record<'_>,
) -> Result<(), Error>
fn add_fields( &self, current: &'writer mut FormattedFields<Self>, fields: &Record<'_>, ) -> Result<(), Error>
Record additional field(s) on an existing span. Read more
Auto Trait Implementations§
impl Freeze for LogFormatFields
impl RefUnwindSafe for LogFormatFields
impl Send for LogFormatFields
impl Sync for LogFormatFields
impl Unpin for LogFormatFields
impl UnwindSafe for LogFormatFields
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