Module kernel::serial_trace

source ·

Modules§

  • Callsites represent the source locations from which spans or events originate.
  • Dispatches trace events to Subscribers.
  • Events represent single points in time during the execution of a program.
  • Span and Event key-value data.
  • Attach a span to a std::future::Future.
  • Trace verbosity level filtering.
  • Metadata describing trace data.
  • Spans represent periods of time in which a program was executing in a particular context.
  • Collects and records trace data.

Macros§

  • Constructs an event at the debug level.
  • Constructs a span at the debug level.
  • Checks whether a span or event is enabled based on the provided metadata.
  • Constructs an event at the error level.
  • Constructs a span at the error level.
  • Constructs a new Event.
  • Tests whether an event with the specified level and target would be enabled.
  • Constructs an event at the info level.
  • Constructs a span at the info level.
  • Statically constructs new span metadata.
  • Constructs a new span.
  • Tests whether a span with the specified level and target would be enabled.
  • Constructs an event at the trace level.
  • Constructs a span at the trace level.
  • Constructs an event at the warn level.
  • Constructs a span at the warn level.

Structs§

Constants§

Statics§

Traits§

Functions§

Attribute Macros§

  • Instruments a function to create and enter a tracing span every time the function is called.