8 releases

new 0.2.3 Jan 26, 2025
0.2.2 Jan 26, 2025
0.2.1 Dec 15, 2024
0.2.0 Jan 13, 2024
0.1.1 Nov 29, 2023

#480 in Debugging

Download history 6/week @ 2024-10-02 6/week @ 2024-10-09 7/week @ 2024-10-16 4/week @ 2024-10-23 3/week @ 2024-10-30 2/week @ 2024-11-06 1/week @ 2024-11-13 11/week @ 2024-11-20 43/week @ 2024-11-27 30/week @ 2024-12-04 286/week @ 2024-12-11 62/week @ 2024-12-18 8/week @ 2024-12-25 34/week @ 2025-01-01 39/week @ 2025-01-08 23/week @ 2025-01-15

106 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
~21K SLoC