macro_rules! log { ($level: expr, $($arg:tt)+) => { ... }; }
Expand description
The log!
macro allows you to log messages with specific logging levels in pink contract.
It is a flexible macro that uses a provided log level (trace, debug, info, warn, error), followed by a format string and an optional list of arguments to generate the final log message.