pub fn with_time(
        time: DateTime<FixedOffset>,
        severity: Severity,
        context: &str,
        message: &str,
    ) -> Self {
        Event {
            time: time.with_timezone(&Utc),
            severity,
            context: context.to_owned(),
            message: message.to_owned(),
        }
    }
/// create a new event marked with a given fixed offset date and time
create a new event marked with a given fixed offset date and time
create a new event marked with a given fixed offset date and time
pub fn with_time(
        time: DateTime<FixedOffset>,
        severity: Severity,
        context: &str,
        message: &str,
    ) -> Self {
        Event {
            time: time.with_timezone(&Utc),
            severity,
            context: context.to_owned(),
            message: message.to_owned(),
        }
    }
pub fn with_time ( time : DateTime < FixedOffset > , severity : Severity , context : & str , message : & str , ) -> Self { Event { time : time . with_timezone ( & Utc ) , severity , context : context . to_owned ( ) , message : message . to_owned ( ) , } }
create a new event marked with a given fixed offset date and time
create a new event marked with a given fixed offset date and time
time
DateTime<FixedOffset>
severity
Severity
context
&str
message
&str