pub fn notify(&self, event: &Event) {
        for receiver in self.receivers.read().expect("receivers is poisoned").iter() {
            receiver
                .write()
                .expect("receivers is poisoned")
                .notify(event);
        }
    }
/// notify all receivers of a log event
notify all receivers of a log event
notify all receivers of a log event
pub fn notify(&self, event: &Event) {
        for receiver in self.receivers.read().expect("receivers is poisoned").iter() {
            receiver
                .write()
                .expect("receivers is poisoned")
                .notify(event);
        }
    }
pub fn notify ( & self , event : & Event ) { for receiver in self . receivers . read ( ) . expect ( " " ) . iter ( ) { receiver . write ( ) . expect ( " " ) . notify ( event ) ; } }
notify all receivers of a log event
notify all receivers of a log event
&self
event
&Event