1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
//include!(concat!(env!("OUT_DIR"), "/bindings.rs"));



use env_logger::{Builder};

#[macro_use]
extern crate lazy_static;

pub mod edlibrs;


lazy_static! {
    #[allow(dead_code)]
    pub static ref LOG: u64 = {
        let res = init_log();
        res
    };
}
// install a logger facility
fn init_log() -> u64 {
    let mut builder = Builder::from_default_env();
    builder.init();
    println!("\n ************** initializing logger from env *****************\n");    
    return 1;
}