Skip to main content

extract_log_warn

Macro extract_log_warn 

Source
macro_rules! extract_log_warn {
    ($msg:expr) => { ... };
    ($fmt:expr, $($arg:tt)*) => { ... };
}
Expand description

Log a WARN level message.

Only logs when the configured log level is Warn or more verbose. Compiled out entirely when logging feature is disabled.

§Examples

extract_log_warn!("Document contains unrecognized font");
extract_log_warn!("Page {} has invalid encoding", page_num);