Struct tracing_fluentd::FlattenFmt [−][src]
pub struct FlattenFmt;
Expand description
Policy to insert span data as flattent object.
Specifically, any span’s or event metadata’s attributes are inserted at the root of event
record.
For example, having span lolka
with attribute arg: 1
would result in arg: 1
to be inserted
alongside message
and other attributes of the event.
Trait Implementations
Handler for when Layer::on_event
is invoked. Read more
fn new_span<C: Collect + for<'a> LookupSpan<'a>>(
attrs: &Attributes<'_>,
id: &Id,
ctx: Context<'_, C>
)
fn new_span<C: Collect + for<'a> LookupSpan<'a>>(
attrs: &Attributes<'_>,
id: &Id,
ctx: Context<'_, C>
)
Handler for when Layer::new_span
is invoked. Read more
Auto Trait Implementations
impl RefUnwindSafe for FlattenFmt
impl Send for FlattenFmt
impl Sync for FlattenFmt
impl Unpin for FlattenFmt
impl UnwindSafe for FlattenFmt