Skip to main content

extract_log_error

Macro extract_log_error 

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

Log an ERROR level message.

Always logs (independent of log level configuration). Compiled out entirely when logging feature is disabled.

§Examples

extract_log_error!("Failed to extract text from page");
extract_log_error!("Invalid PDF content: {}", error);