fn new() -> Logger {
        Logger {
            log_buf: Mutex::new(None),
            show_level: AtomicBool::new(true),
            show_line_numbers: AtomicBool::new(true),
            show_file_path: AtomicBool::new(true),
            instance_id: RwLock::new(String::new()),
        }
    }
/// Creates a new instance of the current logger.
Creates a new instance of the current logger.
Creates a new instance of the current logger .
fn new() -> Logger {
        Logger {
            log_buf: Mutex::new(None),
            show_level: AtomicBool::new(true),
            show_line_numbers: AtomicBool::new(true),
            show_file_path: AtomicBool::new(true),
            instance_id: RwLock::new(String::new()),
        }
    }
fn new ( ) -> Logger { Logger { log_buf : Mutex :: new ( None ) , show_level : AtomicBool :: new ( true ) , show_line_numbers : AtomicBool :: new ( true ) , show_file_path : AtomicBool :: new ( true ) , instance_id : RwLock :: new ( String :: new ( ) ) , } }
Creates a new instance of the current logger.
Creates a new instance of the current logger .