Struct testing_logger::CapturedLog[][src]

pub struct CapturedLog {
    pub body: String,
    pub level: Level,
    pub target: String,
}

A captured call to the logging system. A Vec of these is passed to the closure supplied to the validate() function.

Fields

The formatted log message.

The level.

The target.

Auto Trait Implementations

impl Send for CapturedLog

impl Sync for CapturedLog