simple/
simple.rs

1use log::{info, LevelFilter};
2use loggest::init;
3use std::thread;
4
5fn main() {
6    let _flush = init(LevelFilter::Info, "example").unwrap();
7
8    info!("Main thread");
9
10    thread::spawn(move || {
11        info!("A thread");
12    })
13    .join()
14    .unwrap();
15}