[][src]Trait astrolog::handler::LevelAware

pub trait LevelAware {
    fn set_levels(&mut self, _levels: &[Level]) -> &mut Self;

    fn with_levels(self, levels: &[Level]) -> Self
    where
        Self: Sized
, { ... }
fn set_levels_range(&mut self, from: Level, to: Level) -> &mut Self { ... }
fn with_levels_range(self, from: Level, to: Level) -> Self
    where
        Self: Sized
, { ... } }

Required methods

fn set_levels(&mut self, _levels: &[Level]) -> &mut Self

Loading content...

Provided methods

fn with_levels(self, levels: &[Level]) -> Self where
    Self: Sized

fn set_levels_range(&mut self, from: Level, to: Level) -> &mut Self

fn with_levels_range(self, from: Level, to: Level) -> Self where
    Self: Sized

Loading content...

Implementors

impl LevelAware for ConsoleHandler[src]

fn with_levels(self, levels: &[Level]) -> Self where
    Self: Sized
[src]

fn set_levels_range(&mut self, from: Level, to: Level) -> &mut Self[src]

fn with_levels_range(self, from: Level, to: Level) -> Self where
    Self: Sized
[src]

impl LevelAware for VecHandler[src]

fn with_levels(self, levels: &[Level]) -> Self where
    Self: Sized
[src]

fn set_levels_range(&mut self, from: Level, to: Level) -> &mut Self[src]

fn with_levels_range(self, from: Level, to: Level) -> Self where
    Self: Sized
[src]

impl LevelAware for Logger[src]

fn with_levels(self, levels: &[Level]) -> Self where
    Self: Sized
[src]

fn set_levels_range(&mut self, from: Level, to: Level) -> &mut Self[src]

fn with_levels_range(self, from: Level, to: Level) -> Self where
    Self: Sized
[src]

Loading content...