Struct flexi_logger::writers::FileLogWriter [−][src]
pub struct FileLogWriter { /* fields omitted */ }
Expand description
Implementations
Instantiates a builder for FileLogWriter
.
Returns a reference to its configured output format function.
Replaces parts of the configuration of the file log writer.
Note that the write mode and the format function cannot be reset and
that the provided FileLogWriterBuilder
must have the same values for these as the
current FileLogWriter
.
Errors
FlexiLoggerError::Reset
if no file log writer is configured,
or if a reset was tried with a different write mode.
FlexiLoggerError::Io
if the specified path doesn’t work.
FlexiLoggerError::Poison
if some mutex is poisoned.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for FileLogWriter
impl Send for FileLogWriter
impl Sync for FileLogWriter
impl Unpin for FileLogWriter
impl !UnwindSafe for FileLogWriter
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more