Function flexi_logger::with_thread

source ·
pub fn with_thread(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] T[taskreader] INFO [src/foo/bar:26] Task successfully read from conf.json
i.e. with timestamp, thread name and file location.