Struct log_reroute::REROUTE [−]
pub struct REROUTE { /* fields omitted */ }A global Reroute object.
This one is manipulated by the global functions:
Methods from __Deref<Target = Reroute>
pub fn reroute_boxed(&self, log: Box<Log>)[src]
pub fn reroute_boxed(&self, log: Box<Log>)Sets a new slave logger.
In case it is already in a box, you should prefer this method over
reroute, since there'll be less indirection.
pub fn reroute<L: Log + 'static>(&self, log: L)[src]
pub fn reroute<L: Log + 'static>(&self, log: L)Sets a new slave logger.
pub fn clear(&self)[src]
pub fn clear(&self)Stubs out the logger.
Sets the slave logger to one that does nothing (eg. Dummy).
Trait Implementations
impl __Deref for REROUTE
impl __Deref for REROUTEtype Target = Reroute
The resulting type after dereferencing.
fn deref(&self) -> &Reroute
fn deref(&self) -> &RerouteDereferences the value.
impl LazyStatic for REROUTE
impl LazyStatic for REROUTEfn initialize(lazy: &Self)
fn initialize(lazy: &Self)