Crate Htrace

Crate Htrace 

Source

Modules§

components
crates
htracer
modules

Macros§

HTrace
Shortcut for the trace function (defaults to Type::NORMAL) It can be used like this:
HTraceError
Shortcut for the trace function for Result>Error (defaults to Type::ERROR) Takes a result, and if it is in error, traces it. Does nothing if the result is OK. This only makes sense if you want to receive the error information for debugging. Works like HTrace!() Can be used like this:
Spaned
Define a context for subtrace Use a “short” lived “Span” that crate a context en delete it when “Span” drop You can set a context (see “Context”) like this :

Enums§

Errors