Skip to content

Releases: baoyachi/simple-log

Deny RUSTSEC traitobject enhancement

19 Jul 09:59
86e0beb
Compare
Choose a tag to compare

newline: use {n} replace with \n

24 Feb 11:27
fd997fd
Compare
Choose a tag to compare

change default log name by use project_name

16 Feb 12:17
Compare
Choose a tag to compare

v1.4.0

07 Jan 16:15
Compare
Choose a tag to compare
fix ci

fix out_kind is empty error

16 Nov 09:25
Compare
Choose a tag to compare
1.3.3

fix out_kind is empty error

support color output with terminal

27 Oct 17:13
2b693d5
Compare
Choose a tag to compare

support quick macro

27 Oct 16:52
Compare
Choose a tag to compare
//! `cargo run --example quick`
//! With OutPut
//! ```bash
//! 2020-12-12 17:14:19.558272000 [DEBUG] <quick:14>:test quick debug
//! 2020-12-12 17:14:19.559048000 [INFO] <quick:15>:test quick info
//! ```

#[macro_use]
extern crate log;

fn main() {
    // quick_empty()

    // quick_level()

    quick_level_path()
}

#[allow(dead_code)]
fn quick_empty() {
    simple_log::quick!();

    debug!("test quick debug");
    info!("test quick info");
}

#[allow(dead_code)]
fn quick_level() {
    simple_log::quick!("info");

    debug!("test quick debug");
    info!("test quick info");
}

fn quick_level_path() {
    simple_log::quick!("info", "./log/tmp.log");

    debug!("test quick debug");
    info!("test quick info");
}

support quick macro

27 Oct 16:27
Compare
Choose a tag to compare
fn main() {
    simple_log::quick!("info"); // also use empty args: simple_log::quick!();
    // simple_log::quick!(); //use debug log_level
    debug!("test quick debug");
    info!("test quick info");
}

support custom time_format

27 Sep 10:23
Compare
Choose a tag to compare

update readme

18 May 01:33
Compare
Choose a tag to compare
1.0.6

upgrade version 1.0.6