console_log
pub fn log(record: &Record)
Print a log::Record to the browser's console at the appropriate level.
log::Record
This function is useful for integrating with the fern logger crate.
fern
fern::Dispatch::new() .chain(fern::Output::call(console_log::log)) .apply()?;