pub struct LoggerOutputConfig { /* private fields */ }
Expand description
Logger output configuration.
Implementations§
Source§impl LoggerOutputConfig
impl LoggerOutputConfig
Sourcepub fn level_filter(&self) -> LevelFilter
pub fn level_filter(&self) -> LevelFilter
Returns the log level of the output.
Sourcepub fn target_filters(&self) -> &[String]
pub fn target_filters(&self) -> &[String]
Returns the target filters of the output.
Sourcepub fn target_exclusions(&self) -> &[String]
pub fn target_exclusions(&self) -> &[String]
Returns the target exclusions of the output.
Sourcepub fn color_enabled(&self) -> bool
pub fn color_enabled(&self) -> bool
Returns the color flag of the output.
Trait Implementations§
Source§impl Clone for LoggerOutputConfig
impl Clone for LoggerOutputConfig
Source§fn clone(&self) -> LoggerOutputConfig
fn clone(&self) -> LoggerOutputConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for LoggerOutputConfig
impl PartialEq for LoggerOutputConfig
impl StructuralPartialEq for LoggerOutputConfig
Auto Trait Implementations§
impl Freeze for LoggerOutputConfig
impl RefUnwindSafe for LoggerOutputConfig
impl Send for LoggerOutputConfig
impl Sync for LoggerOutputConfig
impl Unpin for LoggerOutputConfig
impl UnwindSafe for LoggerOutputConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more