pub struct LogSection {
pub level: LogLevel,
pub output: LogOutput,
}Expand description
[log] section.
Fields§
§level: LogLevelLog verbosity. Default Info.
output: LogOutputLog sink. Default Stderr.
Trait Implementations§
Source§impl Clone for LogSection
impl Clone for LogSection
Source§fn clone(&self) -> LogSection
fn clone(&self) -> LogSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LogSection
impl Debug for LogSection
Source§impl Default for LogSection
impl Default for LogSection
impl Eq for LogSection
Source§impl PartialEq for LogSection
impl PartialEq for LogSection
Source§fn eq(&self, other: &LogSection) -> bool
fn eq(&self, other: &LogSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogSection
Auto Trait Implementations§
impl Freeze for LogSection
impl RefUnwindSafe for LogSection
impl Send for LogSection
impl Sync for LogSection
impl Unpin for LogSection
impl UnsafeUnpin for LogSection
impl UnwindSafe for LogSection
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