Skip to main content

PluginLogger

Trait PluginLogger 

Source
pub trait PluginLogger: Send + Sync {
    // Required methods
    fn debug(&self, message: &str);
    fn info(&self, message: &str);
    fn warn(&self, message: &str);
    fn error(&self, message: &str);
}
Expand description

插件日志

Required Methods§

Source

fn debug(&self, message: &str)

Source

fn info(&self, message: &str)

Source

fn warn(&self, message: &str)

Source

fn error(&self, message: &str)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§