pub struct FileLoggingConfiguration { /* private fields */ }
Implementations§
Source§impl FileLoggingConfiguration
impl FileLoggingConfiguration
pub fn default_temporary() -> Self
pub fn new( log_path: Option<PathBuf>, log_level: Level, rotation: Option<Rotation>, ) -> Self
pub fn new_temporary( log_path: Option<PathBuf>, log_level: Level, rotation: Option<Rotation>, ) -> Self
pub fn create_writer(&self) -> BoxMakeWriter
pub fn log_level(&self) -> &Level
pub fn log_path(&self) -> &Option<PathBuf>
pub fn rotation(&self) -> &Option<Rotation>
pub fn info_level(&self) -> bool
pub fn log_path_root_is(&self, path: impl AsRef<Path>) -> bool
pub fn rotates_daily(&self) -> bool
pub fn remove_logs(&self)
pub fn is_temporary(&self) -> bool
Trait Implementations§
Source§impl Default for FileLoggingConfiguration
impl Default for FileLoggingConfiguration
Auto Trait Implementations§
impl Freeze for FileLoggingConfiguration
impl RefUnwindSafe for FileLoggingConfiguration
impl Send for FileLoggingConfiguration
impl Sync for FileLoggingConfiguration
impl Unpin for FileLoggingConfiguration
impl UnwindSafe for FileLoggingConfiguration
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