pub enum LevelFormat {
None,
Uppercase,
Lowercase,
Number,
}Expand description
Format the log level
Variants§
None
Hide log levels
Uppercase
Log level uppercase e.g. WARN
Lowercase
Log level lowercase e.g. warn
Number
Log level as numbers TRACE: 10 DEBUG: 20 INFO: 30 WARN: 40 ERROR: 50
Trait Implementations§
Source§impl Clone for LevelFormat
impl Clone for LevelFormat
Source§fn clone(&self) -> LevelFormat
fn clone(&self) -> LevelFormat
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 moreimpl Copy for LevelFormat
Auto Trait Implementations§
impl Freeze for LevelFormat
impl RefUnwindSafe for LevelFormat
impl Send for LevelFormat
impl Sync for LevelFormat
impl Unpin for LevelFormat
impl UnwindSafe for LevelFormat
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