pub struct LogDestinationConfig {
pub destination: LogDestination,
pub level: Option<LevelFilter>,
}
Expand description
Configuration for a log destination, containing the destination and the log level.
Fields§
§destination: LogDestination
The destination to log to.
level: Option<LevelFilter>
Only log messages at this level or higher to this destination.
If None
, the default level is used.
Trait Implementations§
Source§impl Clone for LogDestinationConfig
impl Clone for LogDestinationConfig
Source§fn clone(&self) -> LogDestinationConfig
fn clone(&self) -> LogDestinationConfig
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 Debug for LogDestinationConfig
impl Debug for LogDestinationConfig
Source§impl PartialEq for LogDestinationConfig
impl PartialEq for LogDestinationConfig
impl Eq for LogDestinationConfig
impl StructuralPartialEq for LogDestinationConfig
Auto Trait Implementations§
impl Freeze for LogDestinationConfig
impl RefUnwindSafe for LogDestinationConfig
impl Send for LogDestinationConfig
impl Sync for LogDestinationConfig
impl Unpin for LogDestinationConfig
impl UnwindSafe for LogDestinationConfig
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