Struct cursive_core::logger::Record

source ·
pub struct Record {
    pub level: Level,
    pub time: OffsetDateTime,
    pub message: String,
}
Expand description

A log record.

Fields§

§level: Level

Log level used for this record

§time: OffsetDateTime

Time this message was logged

§message: String

Message content

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.