Expand description

Macros for printing stack-indented trace-like print statements.

Library users should use macros provided in printers (which are also listed here).

Modules

Macros to derive the current function name.
Macros to print trace statements with stack offset indentation.
Functions to store a stack offset for indented trace prints and return the appropriate preprint str.

Macros

debug eprintln!
debug eprintln! in a function plus one namespace level when entering.
debug eprintln! in a function plus one namespace level with offset.
debug eprintln! in a function plus one namespace level when exiting.
debug eprintln! in a function with one namespace levels when entering and exiting.
debug eprintln! in a function plus two namespace levels when entering.
debug eprintln! in a function plus two namespace levels with offset.
debug eprintln! in a function plus two namespace levels when exiting.
debug eprintln! in a function plus two namespace levels when entering and exiting.
debug eprintln! in a function when entering.
debug eprintln! in a function with offset.
debug eprintln! in a function when exiting.
debug eprintln! in a function when entering and exiting.
debug eprintln! when entering.
debug eprintln! with offset.
debug eprintln! when exiting.
debug eprintln! when entering and exiting.
debug println!
debug println! in a function plus one namespace level when entering.
debug println! in a function plus one namespace level with offset.
debug println! in a function plus one namespace level when exiting.
debug println! in a function plus one namespace level when entering and exiting.
debug println! in a function plus two namespace levels when entering.
debug println! in a function plus two namespace levels with offset
debug println! in a function plus two namespace levels when exiting.
debug println! in a function plus two namespace levels when entering and exiting.
debug println! in a function when entering.
debug println! in a function with offset.
debug println! in a function when exiting.
debug println! in a function when entering and exiting.
debug println! when entering.
debug println! with offset.
debug println! when exiting.
debug println! when entering and exiting.
eprintln!
eprintln! in a function plus one namespace level when entering.
eprintln! in a function with one namespace levels and offset.
eprintln! in a function plus one namespace level when exiting.
eprintln! in a function plus one namespace level when entering and exiting.
eprintln! in a function plus two namespace levels when entering.
eprintln! in a function with two namespace levels and offset.
eprintln! in a function plus two namespace levels when exiting.
eprintln! in a function plus two namespace levels when entering and exiting.
eprintln! in a function when entering.
eprintln! in a function with offset.
eprintln! in a function when exiting.
eprintln! in a function when entering and exiting.
eprintln! when entering.
eprintln! with offset.
eprintln! when exiting.
eprintln! when entering and exiting.
Return the current the current function name as a &'static str, e.g. "my_func".
Return the current current function name full path as a &'static str, e.g. "my_lib::my_mod::my_func".
Return the current function name plus preceding namespaces as a &'static str.
println!
println! in a function plus one namespace level when entering.
println! in a function plus one namespace level with offset.
println! in a function plus one namespace level when exiting.
println! in a function plus one namespace level when entering and exiting.
println! in a function plus two namespace levels when entering.
println! in a function plus two namespace levels with offset.
println! in a function plus two namespace levels when exiting.
println! in a function plus two namespace levels when entering and exiting.
println! in a function when entering.
println! in a function with offset.
println! in a function when exiting.
println! in a function when entering and exiting.
println! when entering.
println! with offset.
println! when exiting.
println! when entering and exiting.