pub struct LogRawFile {
pub level: Level,
pub format: LogFormat,
pub file_path: Box<Path>,
}Expand description
Config for file sink that supports atomic append from multiprocess. For log rotation, you need system log-rotate service to notify with signal.
Fields§
§level: Levelmax log level in this file
format: LogFormat§file_path: Box<Path>path: dir/name
Implementations§
Source§impl LogRawFile
impl LogRawFile
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogRawFile
impl RefUnwindSafe for LogRawFile
impl Send for LogRawFile
impl Sync for LogRawFile
impl Unpin for LogRawFile
impl UnwindSafe for LogRawFile
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