Enum flexi_logger::writers::FlWriteMode [−][src]
Expand description
Write modes for the FileLogWriter
.
Variants
Write log messages directly to the file, without buffering (this is the default).
Buffer(usize)
Use a buffer when writing log messages to the file.
Send log messages to a dedicated output thread, using a channel with a configurable capacity, and a pool for the messages with configurable size, and a max capacity for the elements that are pooled Lets the FileLogWriter send logs through an unbounded channel to an output thread, which does the file I/O, the rotation, and the cleanup.
Uses buffered I/O (with buffer size .0), and a bounded message pool (with capacity .1), and an initial capacity for the message buffers (.2).
Only available with feature async
.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FlWriteMode
impl Send for FlWriteMode
impl Sync for FlWriteMode
impl Unpin for FlWriteMode
impl UnwindSafe for FlWriteMode
Blanket Implementations
Mutably borrows from an owned value. Read more