Macro red4ext_rs::log::warn
source · macro_rules! warn { ($env:expr, $($arg:tt)*) => { ... }; }
Expand description
Logs a message at the warn level.
§Example
use red4ext_rs::{log, SdkEnv};
fn log_warn(env: &SdkEnv) {
log::warn!(env, "Hello, world!");
// log::warn!("Hello, world!"); // if the `log` feature is enabled
}