pipelight_utils 0.2.9

A set of trivial utilities for command line tools
Documentation
1
2
3
4
5
6
7
// Struct
use crate::logger::Logger;
// Global vars
use once_cell::sync::Lazy;
use std::sync::{Arc, Mutex};

pub static LOGGER: Lazy<Arc<Mutex<Logger>>> = Lazy::new(|| Arc::new(Mutex::new(Logger::default())));