macro_rules! debugln {
() => { ... };
( $format:literal $($tt:tt)* ) => { ... };
}
Expand description
Log a line to standard debugging channels.
Examples
use bugsalot::debugln;
debugln!();
debugln!("Print stuff");
debugln!("Print more stuff: {} {} {}", 1, "2", 3.0f32);
Platforms
platform | mechanism | notes and caveats |
---|---|---|
Android | __android_log_write | View in ADB Logcat. |
WASM | console.log | View in Developer Tools (Firefox, Chrome). |
Windows | OutputDebugStringA | Buffer size capped. View in VS’s Ouput tab, VSC’s Debug Console, DebugView, etc. |
*nix | stderr | May intermingle with other error reporting, subject to change. |