1 2 3 4 5 6 7 8 9 10 11
use env_logger::*; pub struct Logs; impl Logs { pub fn new(){ env_logger::init(); info!("Starting Logging") } }