6 releases

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

#446 in Debugging

Download history 18/week @ 2024-08-29 4/week @ 2024-09-05 7/week @ 2024-09-12 20/week @ 2024-09-19 17/week @ 2024-09-26 2/week @ 2024-10-03 6/week @ 2024-10-10 8/week @ 2024-10-17 3/week @ 2024-10-24 4/week @ 2024-10-31 1/week @ 2024-11-07 2/week @ 2024-11-14 12/week @ 2024-11-21 41/week @ 2024-11-28 30/week @ 2024-12-05 291/week @ 2024-12-12

375 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
~23K SLoC