brk_logger 0.1.9

A thin wrapper around tracing with size-based log rotation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::io;

use tracing::{debug, error, info, trace};

fn main() -> io::Result<()> {
    brk_logger::init(None)?;

    info!("info");
    debug!("debug");
    error!("error");
    trace!("trace");

    Ok(())
}