Trait etwin_log::Logger [−][src]
pub trait Logger<T>: Send + Sync { fn log(&self, ev: T); fn filter<P>(self, predicate: P) -> Filter<P, Self>
where
Self: Sized,
P: Send + Sync + Fn(&T) -> bool, { ... } fn map<S, F>(self, f: F) -> Map<F, Self>
where
Self: Sized,
F: Send + Sync + Fn(S) -> T, { ... } fn filter_map<S, F>(self, f: F) -> FilterMap<F, Self>
where
Self: Sized,
F: Send + Sync + Fn(S) -> Option<T>, { ... } }
Expand description
Trait representing a log subscriber