pub fn now(severity: Severity, context: &str, message: &str) -> Self {
        Event {
            time: Utc::now(),
            severity,
            context: context.to_owned(),
            message: message.to_owned(),
        }
    }
/// create a new event marked with the current time
create a new event marked with the current time
create a new event marked with the current time
pub fn now(severity: Severity, context: &str, message: &str) -> Self {
        Event {
            time: Utc::now(),
            severity,
            context: context.to_owned(),
            message: message.to_owned(),
        }
    }
pub fn now ( severity : Severity , context : & str , message : & str ) -> Self { Event { time : Utc :: now ( ) , severity , context : context . to_owned ( ) , message : message . to_owned ( ) , } }
create a new event marked with the current time
create a new event marked with the current time
severity
Severity
context
&str
message
&str