Macro clilog::log_monitor
source · [−]macro_rules! log_monitor {
($typ:ident, $id:ident, $fmt:expr $(,$param:expr)*) => { ... };
($typ:ident, $fmt:expr $(,$param:expr)*) => { ... };
}
Expand description
general logging macro that can either log normally, or
check the count before logging.
this is the basis of other macros like info
, warn
, etc.