pub struct EncoderOpts {
pub always_log_file_line: bool,
}
Expand description
Options for the encoder
Fields§
§always_log_file_line: bool
Whether or not to always log the line/file information Defaults to false. If false, the line/file information will only be logged for ERROR and above.
Trait Implementations§
Source§impl Default for EncoderOpts
impl Default for EncoderOpts
Source§fn default() -> EncoderOpts
fn default() -> EncoderOpts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EncoderOpts
impl RefUnwindSafe for EncoderOpts
impl Send for EncoderOpts
impl Sync for EncoderOpts
impl Unpin for EncoderOpts
impl UnwindSafe for EncoderOpts
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