macro_rules! warn {
($( $args:tt )*) => { ... };
}
Expand description
Logs a message at the warn level using the default target.
This macro logs the message using the default target, the module path of
the location of the log request. See warn_target!
which can override the
target.
ยงExamples
use ckb_logger::warn;
let warn_description = "Invalid Input";
warn!("Warning! {}!", warn_description);