seq_logger

Function init

Source
pub fn init() -> Result<(), SetLoggerError>
Examples found in repository?
examples/example.rs (line 7)
6
7
8
9
10
11
fn main() {
    seq_logger::init().unwrap();
    for n in 1..1001 {
        info!("Line {}", n);
    }
}