File: common.rs

package info (click to toggle)
rust-udevrs 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,240 kB
  • sloc: makefile: 2
file content (6 lines) | stat: -rw-r--r-- 233 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#[allow(dead_code)]
pub fn init() {
    let _ = env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("debug"))
        .format_timestamp(Some(env_logger::fmt::TimestampPrecision::Millis))
        .try_init();
}