Macro ckb_logger::warn [−][src]
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);