fn log(&self, record: &log::Record) {
        if self.enabled(record.metadata()) {
            let guard = self.writer.as_ref();
            let mut writer = guard.write().unwrap();
            writer.write(record).unwrap();
        }
    }
/// Write a message to the log file.
Write a message to the log file.
Write a message to the log file .
fn log(&self, record: &log::Record) {
        if self.enabled(record.metadata()) {
            let guard = self.writer.as_ref();
            let mut writer = guard.write().unwrap();
            writer.write(record).unwrap();
        }
    }
fn log ( & self , record : & log :: Record ) { if self . enabled ( record . metadata ( ) ) { let guard = self . writer . as_ref ( ) ; let mut writer = guard . write ( ) . unwrap ( ) ; writer . write ( record ) . unwrap ( ) ; } }
Write a message to the log file.
Write a message to the log file .
&self
record
&log::Record