pub struct EnvLoggerFormatConfig {
pub thread: bool,
pub target: bool,
pub file: bool,
pub timestamp_precision: TimestampPrecision,
}Available on crate feature
env-logger-format only.Fields§
§thread: bool§target: bool§file: bool§timestamp_precision: TimestampPrecisionImplementations§
Source§impl EnvLoggerFormatConfig
impl EnvLoggerFormatConfig
pub const fn thread(&mut self, thread: bool) -> &mut Self
pub const fn target(&mut self, target: bool) -> &mut Self
pub const fn file(&mut self, file: bool) -> &mut Self
pub const fn timestamp_precision( &mut self, precision: TimestampPrecision, ) -> &mut Self
pub const fn build(&mut self) -> Self
Trait Implementations§
Source§impl Clone for EnvLoggerFormatConfig
impl Clone for EnvLoggerFormatConfig
Source§fn clone(&self) -> EnvLoggerFormatConfig
fn clone(&self) -> EnvLoggerFormatConfig
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 moreimpl Copy for EnvLoggerFormatConfig
Source§impl Debug for EnvLoggerFormatConfig
impl Debug for EnvLoggerFormatConfig
Auto Trait Implementations§
impl Freeze for EnvLoggerFormatConfig
impl RefUnwindSafe for EnvLoggerFormatConfig
impl Send for EnvLoggerFormatConfig
impl Sync for EnvLoggerFormatConfig
impl Unpin for EnvLoggerFormatConfig
impl UnsafeUnpin for EnvLoggerFormatConfig
impl UnwindSafe for EnvLoggerFormatConfig
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