pub trait Host {
    // Required method
    fn log(&mut self, level: Level, msg: String);
}
Available on crate feature runtime and crate feature component-model and docsrs only.

Required Methods§

Source

fn log(&mut self, level: Level, msg: String)

Implementations on Foreign Types§

Source§

impl<_T: Host + ?Sized> Host for &mut _T

Source§

fn log(&mut self, level: Level, msg: String)

Implementors§