soroban_sdk::testutils

Trait Logs

Source
pub trait Logs {
    // Required methods
    fn all(&self) -> Vec<String>;
    fn print(&self);
}
Available on crate feature testutils only.
Expand description

Test utilities for Logs.

Required Methods§

Source

fn all(&self) -> Vec<String>

Returns all diagnostic events that have been logged.

Source

fn print(&self)

Prints all diagnostic events to stdout.

Implementors§