Skip to main content

Module log

Module log 

Source

Modules§

instrument
Attach a span to a std::future::Future.

Macros§

debug
Constructs an event at the debug level.
debug_span
Constructs a span at the debug level.
error
Constructs an event at the error level.
error_span
Constructs a span at the error level.
info
Constructs an event at the info level.
info_span
Constructs a span at the info level.
trace
Constructs an event at the trace level.
trace_span
Constructs a span at the trace level.
warn
Constructs an event at the warn level.
warn_span
Constructs a span at the warn level.

Traits§

AnyhowErrorExt
CtxExt
LogLevelExt

Functions§

initialize_tracing

Type Aliases§

StaticError

Attribute Macros§

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