Macro gelf_logger::gelf_warn
source · macro_rules! gelf_warn { (extra: $extra:expr, $($arg:tt)+) => { ... }; ($($arg:tt)+) => { ... }; }
Expand description
Logs a message at the warning level (Warning messages).
Not an error, but indication that an error will occur if action is not taken, e.g. file system 85% full - each item must be resolved within a given time.
§Examples
use gelf_logger::gelf_warn;
gelf_warn!("Error while fetching metadata with correlation");