summaryrefslogtreecommitdiffstats
path: root/third_party/rust/android_logger/tests/default_init.rs
blob: 7b04c24812e9871835ab349b51254c4ea1e28aaf (plain)
1
2
3
4
5
6
7
8
9
10
extern crate android_logger;
extern crate log;

#[test]
fn default_init() {
    android_logger::init_once(Default::default());

    // android_logger has default log level "off"
    assert_eq!(log::max_level(), log::LevelFilter::Off);
}