Struct bee_common::logger::LoggerOutputConfigBuilder [−][src]
Builder for a logger output configuration.
Implementations
impl LoggerOutputConfigBuilder[src]
pub fn new() -> Self[src]
Creates a new builder for a logger output configuration.
pub fn name<'a>(self, name: impl Into<Cow<'a, str>>) -> Self[src]
Sets the name of a logger output.
pub fn level_filter(self, level: LevelFilter) -> Self[src]
Sets the level of a logger output.
pub fn target_filters(self, target_filters: &[&str]) -> Self[src]
Sets a collection of filters of a logger output. A message is logged only if one of the filters is part of the log’s metadata target.
pub fn finish(self) -> LoggerOutputConfig[src]
Builds a logger output configuration.
Trait Implementations
impl Default for LoggerOutputConfigBuilder[src]
impl<'de> Deserialize<'de> for LoggerOutputConfigBuilder[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for LoggerOutputConfigBuilder
impl Send for LoggerOutputConfigBuilder
impl Sync for LoggerOutputConfigBuilder
impl Unpin for LoggerOutputConfigBuilder
impl UnwindSafe for LoggerOutputConfigBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,