Struct flexi_logger::writers::FileLogWriter [−][src]
A configurable LogWriter
implementation that writes to a file or a sequence of files.
See writers for usage guidance.
Implementations
impl FileLogWriter
[src]
#[must_use]pub fn builder() -> FileLogWriterBuilder
[src]
Instantiates a builder for FileLogWriter
.
pub fn format(&self) -> FormatFunction
[src]
Returns a reference to its configured output format function.
Trait Implementations
impl LogWriter for FileLogWriter
[src]
fn write(&self, now: &mut DeferredNow, record: &Record<'_>) -> Result<()>
[src]
fn flush(&self) -> Result<()>
[src]
fn max_log_level(&self) -> LevelFilter
[src]
fn shutdown(&self)
[src]
fn format(&mut self, format: FormatFunction)
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,