6 releases

0.2.1 Dec 15, 2024
0.2.0 Jan 13, 2024
0.1.3 Dec 25, 2023
0.1.1 Nov 29, 2023

#444 in Debugging

Download history 3/week @ 2024-09-02 6/week @ 2024-09-09 9/week @ 2024-09-16 27/week @ 2024-09-23 7/week @ 2024-09-30 13/week @ 2024-10-14 3/week @ 2024-10-21 3/week @ 2024-10-28 3/week @ 2024-11-04 6/week @ 2024-11-18 47/week @ 2024-11-25 10/week @ 2024-12-02 201/week @ 2024-12-09 167/week @ 2024-12-16

427 downloads per month
Used in 11 crates (7 directly)

MIT/Apache

430KB
10K SLoC

IROX-LOG

Basic console and file logging

Examples

Console Logging:

use irox_log::{init_console_level};
use log::{Level, info};

pub fn main() {
    // With 'Info' specified, 'Error', 'Warn' and 'Info' will be printed, but 'Debug' and 'Trace' will not.
    irox_log::init_console_level(Level::Info);

    info!("it works!");
}

lib.rs:

Basic console and file logging.

Dependencies

~0.5–1MB
~22K SLoC