rustlog 0.3.2

A small, dependency-light logging crate with a pragmatic API, color (optional), groups, and a scope timer
Documentation
1
2
3
4
5
6
#[test]
fn set_file_returns_error_on_dir() {
    let dir = std::env::temp_dir();
    // set_file on a directory should error
    assert!(rustlog::set_file(&dir).is_err());
}