Struct flexi_logger::writers::FileLogWriterConfig
source · [−]pub struct FileLogWriterConfig { /* private fields */ }
Expand description
Configuration of a FileLogWriter
.
Implementations
sourceimpl FileLogWriterConfig
impl FileLogWriterConfig
sourcepub fn discriminant(&self) -> Option<String>
pub fn discriminant(&self) -> Option<String>
Returns the configured discriminant
.
sourcepub fn print_message(&self) -> bool
pub fn print_message(&self) -> bool
Returns true
if a message should be printed on program start
to which file the log is written.
Trait Implementations
sourceimpl Clone for FileLogWriterConfig
impl Clone for FileLogWriterConfig
sourcefn clone(&self) -> FileLogWriterConfig
fn clone(&self) -> FileLogWriterConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for FileLogWriterConfig
impl Send for FileLogWriterConfig
impl Sync for FileLogWriterConfig
impl Unpin for FileLogWriterConfig
impl UnwindSafe for FileLogWriterConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more