pub struct RollingFileAppenderDeserializer;
Expand description
A deserializer for the RollingFileAppender
.
§Configuration
kind: rolling_file
# The path of the log file. Required.
path: log/foo.log
# Specifies if the appender should append to or truncate the log file if it
# already exists. Defaults to `true`.
append: true
# The encoder to use to format output. Defaults to `kind: pattern`.
encoder:
kind: pattern
# The policy which handles rotation of the log file. Required.
policy:
# Identifies which policy is to be used. If no kind is specified, it will
# default to "compound".
kind: compound
# The remainder of the configuration is passed along to the policy's
# deserializer, and will vary based on the kind of policy.
trigger:
kind: size
limit: 10 mb
roller:
kind: delete
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RollingFileAppenderDeserializer
impl RefUnwindSafe for RollingFileAppenderDeserializer
impl Send for RollingFileAppenderDeserializer
impl Sync for RollingFileAppenderDeserializer
impl Unpin for RollingFileAppenderDeserializer
impl UnwindSafe for RollingFileAppenderDeserializer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more