macro_rules! r_debug_log {
($level:expr, $($arg:tt)*) => { ... };
}Expand description
Dispatches a formatted debug log message to the global logger.
This macro functions identically to r_log!, but messages logged with this macro
are strictly flagged as debug messages. The visibility of these messages depends
on the configured LogSinks.
Specifically, the default TerminalSink will ignore and hide these messages when
the application is compiled in release mode (i.e., not(debug_assertions)).
However, the default FileSink will always record them, regardless of the build
profile, ensuring debug trails are kept in the logs without cluttering the user’s terminal.
§Arguments
$level- The severity of the log, provided as aLogLevelvariant.$arg- A format string and its arguments, following standardstd::fmtsyntax.