Trait rbatis::plugin::log::LogPlugin[][src]

pub trait LogPlugin: Send + Sync + Debug {
    fn get_level_filter(&self) -> &LevelFilter;
fn error(&self, data: &str);
fn warn(&self, data: &str);
fn info(&self, data: &str);
fn debug(&self, data: &str);
fn trace(&self, data: &str); fn name(&self) -> &str { ... }
fn is_enable(&self) -> bool { ... }
fn do_log(&self, context_id: &str, data: &str) { ... } }

log plugin

Required methods

fn get_level_filter(&self) -> &LevelFilter[src]

fn error(&self, data: &str)[src]

fn warn(&self, data: &str)[src]

fn info(&self, data: &str)[src]

fn debug(&self, data: &str)[src]

fn trace(&self, data: &str)[src]

Loading content...

Provided methods

fn name(&self) -> &str[src]

the name

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

fn do_log(&self, context_id: &str, data: &str)[src]

Loading content...

Implementors

impl LogPlugin for RbatisLog[src]

Loading content...