Expand description
Implementation details for emit! macros.
This crate is not intended to be consumed directly.
Macros§
- count_
metric - Construct a metric sample with
countas its aggregation. - count_
sample - Emit a metric sample with
countas its aggregation. - dbg
- Emit a temporary event as a quick-and-dirty debugging aid.
- debug
- Emit an event at the debug level.
- debug_
evt - Construct an event at the debug level that can be emitted manually.
- emit
- Emit an event.
- error
- Emit an event at the error level.
- error_
evt - Construct an event at the error level that can be emitted manually.
- evt
- Construct an event that can be emitted manually.
- format
- Format a template.
- info
- Emit an event at the info level.
- info_
evt - Construct an event at the info level that can be emitted manually.
- last_
metric - Construct a metric sample with
lastas its aggregation. - last_
sample - Emit a metric sample with
lastas its aggregation. - max_
metric - Construct a metric sample with
maxas its aggregation. - max_
sample - Emit a metric sample with
maxas its aggregation. - metric
- Construct a metric sample.
- min_
metric - Construct a metric sample with
minas its aggregation. - min_
sample - Emit a metric sample with
minas its aggregation. - new_
debug_ span - Create a span at the debug level that can be started and completed manually.
- new_
error_ span - Create a span at the error level that can be started and completed manually.
- new_
info_ span - Create a span at the info level that can be started and completed manually.
- new_
span - Create a span that can be started and completed manually.
- new_
warn_ span - Create a span at the warn level that can be started and completed manually.
- path
- Construct a path.
- props
- Construct a set of properties.
- sample
- Emit a metric sample.
- sum_
metric - Construct a metric sample with
sumas its aggregation. - sum_
sample - Emit a metric sample with
sumas its aggregation. - tpl
- Construct a template.
- warn
- Emit an event at the warn level.
- warn_
evt - Construct an event at the warn level that can be emitted manually.
Attribute Macros§
- as_
debug - Capture a property using its
Debugimplementation. - as_
display - Capture a property using its
Displayimplementation. - as_
error - Capture a property using its
Errorimplementation. - as_
serde - Capture a property using its
serde::Serializeimplementation. - as_sval
- Capture a property using its
sval::Valueimplementation. - as_
value - Capture a property using its
ToValueimplementation. - debug_
span - Trace the execution of a function at the debug level.
- error_
span - Trace the execution of a function at the error level.
- fmt
- Specify Rust format flags to use when rendering a property in a template.
- info_
span - Trace the execution of a function at the info level.
- key
- Specify the key for a property.
- optional
- Specify that a property value of
Noneshould not be captured, instead of being captured asnull. - span
- Trace the execution of a function.
- warn_
span - Trace the execution of a function at the warn level.