Struct tracing_fluentd::NestedFmt [−][src]
pub struct NestedFmt;
Expand description
Policy to insert span data as object.
Specifically, any span’s or event metadata’s attributes are associated with its name inside
record.
For example having span lolka would add key lolka to the record, with span’s attributes as
value.
Special case is event metadata which is always inserted with key metadata and contains
information such location in code and event level.
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 NestedFmtimpl UnwindSafe for NestedFmt