[][src]Trait wascc_actor::Logger

pub trait Logger {
    fn log(&self, level: usize, body: &str) -> Result<()>;
fn error(&self, body: &str) -> Result<()>;
fn warn(&self, body: &str) -> Result<()>;
fn info(&self, body: &str) -> Result<()>;
fn debug(&self, body: &str) -> Result<()>;
fn trace(&self, body: &str) -> Result<()>; }

Required methods

fn log(&self, level: usize, body: &str) -> Result<()>

fn error(&self, body: &str) -> Result<()>

fn warn(&self, body: &str) -> Result<()>

fn info(&self, body: &str) -> Result<()>

fn debug(&self, body: &str) -> Result<()>

fn trace(&self, body: &str) -> Result<()>

Loading content...

Implementors

impl Logger for AutomaticLogger[src]

Loading content...