Trait solana_sdk::process_instruction::Logger[][src]

pub trait Logger {
    fn log_enabled(&self) -> bool;
fn log(&self, message: &str); }

Log messages

Required methods

fn log_enabled(&self) -> bool[src]

fn log(&self, message: &str)[src]

Log a message.

Unless explicitly stated, log messages are not considered stable and may change in the future as necessary

Loading content...

Implementors

impl Logger for MockLogger[src]

Loading content...