pub struct FileAppenderBuilder { /* private fields */ }
Expand description
A builder for FileAppender
s.
Implementations
sourceimpl FileAppenderBuilder
impl FileAppenderBuilder
sourcepub fn encoder(self, encoder: Box<dyn Encode>) -> FileAppenderBuilder
pub fn encoder(self, encoder: Box<dyn Encode>) -> FileAppenderBuilder
Sets the output encoder for the FileAppender
.
sourcepub fn append(self, append: bool) -> FileAppenderBuilder
pub fn append(self, append: bool) -> FileAppenderBuilder
Determines if the appender will append to or truncate the output file.
Defaults to true
.
Auto Trait Implementations
impl !RefUnwindSafe for FileAppenderBuilder
impl Send for FileAppenderBuilder
impl Sync for FileAppenderBuilder
impl Unpin for FileAppenderBuilder
impl !UnwindSafe for FileAppenderBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more