Skip to main content

debug

Function debug 

Source
pub fn debug(tag: &str, message: &str)
Expand description

What: Print a debug diagnostic when verbose diagnostics are on. tag names the function or module boundary, as the incumbent’s tagged loggers do. Why: Decisions such as “owner alive, skipping” are invisible otherwise.

In TS you’d write (pseudocode):

tagged({ tag }).debug(message);