[−][src]Macro log::warn
Logs a message at the warn level.
Examples
ⓘThis code runs with edition 2018
use log::warn; let warn_description = "Invalid Input"; warn!("Warning! {}!", warn_description); warn!(target: "input_events", "App received warning: {}", warn_description);