/// Sends logs to console.log handler
Sends logs to console.log handler
Sends logs to console . log handler
async fn send(
        &self,
        sub: &'_ str,
        entries: Vec<LogEntry>,
    ) -> Result<(), Box<dyn std::error::Error>> {
        for e in entries.iter() {
            println!("{} {} {} {}", e.timestamp, sub, e.severity, e.text);
        }
        Ok(())
    }
async fn send ( & self , sub : & ' _ str , entries : Vec < LogEntry > , ) -> Result < ( ) , Box < dyn std :: error :: Error > > { for e in entries . iter ( ) { println ! ( " " e timestamp sub e severity e text ) ; } Ok ( ( ) ) }
Sends logs to console.log handler
Sends logs to console . log handler
&self
sub
&'_ str
entries
Vec<LogEntry>