Skip to main content

log_autodiff

Function log_autodiff 

Source
pub fn log_autodiff<F>(level: AutodiffLogLevel, f: F)
where F: FnOnce() -> String,
Expand description

Emit an autodiff log message when the configured level is at least level.

The message is only constructed when logging is enabled.