Skip to main content

extract_log_trace

Macro extract_log_trace 

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

Log a TRACE level message.

Only logs when the configured log level is Trace. Compiled out entirely when logging feature is disabled.

Use this for very detailed information like character-level details.

§Examples

extract_log_trace!("Detected 125 word boundaries on page 1");
extract_log_trace!("TJ offset: {:?}, threshold: {}, boundary: {}",
    tj_offset, threshold, is_boundary);