git-clone-canonical 0.1.5

Clone git repositories into a local path derived from the URL.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::Result;

pub fn log_init() -> Result<()> {
    env_logger::Builder::new()
        .filter_level(log::LevelFilter::Info)
        .format_level(true)
        .format_module_path(false)
        .format_target(false)
        .format_timestamp(None)
        .try_init()?;
    Ok(())
}