Struct concordium_std::test_infrastructure::LogRecorder[][src]

pub struct LogRecorder {
    pub logs: Vec<Vec<u8>>,
}
Expand description

A logger that simply accumulates all the logged items to be inspected at the end of execution.

Fields

logs: Vec<Vec<u8>>

Trait Implementations

Initialize a logger.

Log the given slice as-is. If logging is not successful an error will be returned. Read more

Log a serializable event by serializing it with a supplied serializer.

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.