Function flexi_logger::with_thread [−][src]
pub fn with_thread(
w: &mut dyn Write,
now: &mut DeferredNow,
record: &Record<'_>
) -> Result<(), Error>
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.
Errors
See std::write