Struct cursive::logger::Record[][src]

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

Performs the conversion.

Performs the conversion.

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.

Calls the given closure and return the result. Read more

Calls the given closure on self.

Calls the given closure on self.

Calls the given closure if condition == true.