Macro matrix_sdk_base::timer

source ·
macro_rules! timer {
    ($level:expr, $string:expr) => { ... };
    ($string:expr) => { ... };
}
Expand description

Macro to create a RAII timer that will log a tracing event once it’s dropped.

The tracing level can be specified as a first argument, but it’s optional. If it’s missing, this will use the debug level.