Skip to main content

log_debug

Macro log_debug 

Source
macro_rules! log_debug {
    ($app_tag:expr, $fmt:expr $(, $($arg:tt)*)?) => { ... };
}
Expand description

Logs a DEBUG level message.

Debug messages are the most verbose and typically used during development. Color: Cyan (if colors are enabled)

§Parameters

  • app_tag - Category or module identifier
  • fmt - Format string
  • arg - Optional format arguments

§Examples

use osal_rs::log_debug;
 
log_debug!("APP", "Initializing subsystem");
log_debug!("APP", "Counter: {}, Status: {}", counter, status);