simple-log 2.4.0

A simple log. It's really simple use
Documentation
//! `cargo run --example get_log_conf`
//!
//! With OutPut
//! ```bash
//! 2020-12-12 17:51:34.624199000 [DEBUG] <get_log_conf:28>:test get_log_conf debug
//! 2020-12-12 17:51:34.624294000 [INFO] <get_log_conf:29>:test get_log_conf info
//! ```

#[macro_use]
extern crate simple_log;

use simple_log::LogConfigBuilder;

fn main() -> Result<(), String> {
    let old_config = LogConfigBuilder::builder()
        .path("./log/builder_log.log")
        .size(100)
        .roll_count(10)
        .level("debug")?
        .output_file()
        .output_console()
        .build();

    simple_log::new(old_config.clone())?;
    let out = simple_log::get_log_conf()?;
    assert_eq!(out, old_config);

    debug!("test get_log_conf debug");
    info!("test get_log_conf info");
    Ok(())
}