depo 0.13.0

Server for secure and anonymous storage and retrieval of binary objects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use std::sync::Once;

use env_logger::Builder;
use log::LevelFilter;

static INIT: Once = Once::new();

pub fn setup_log() {
    INIT.call_once(|| {
        Builder::new().filter(None, LevelFilter::Info).init();
        // Builder::from_env(
        //     Env::default()
        //         .default_filter_or("depo=info")
        //     )
        //     .init();
        // println!("LOGGING INITIALIZED")
    });
}