Function flexi_logger::opt_format

source ·
pub fn opt_format(w: &mut dyn Write, record: &Record<'_>) -> Result<(), Error>
Expand description

A logline-formatter that produces log lines like
[2016-01-13 15:25:01.640870 +01:00] INFO [src/foo/bar:26] Task successfully read from conf.json
i.e. with timestamp and file location.