Struct bp3d_logger::handler::FileHandler
source · pub struct FileHandler { /* private fields */ }Expand description
A file handler which writes log messages into different files each named by the target name.
Implementations§
source§impl FileHandler
impl FileHandler
sourcepub fn new(path: PathBuf) -> FileHandler
pub fn new(path: PathBuf) -> FileHandler
Creates a new FileHandler.
§Arguments
path: the path to the base folder which should contain logs.
returns: FileHandler
Trait Implementations§
source§impl Handler for FileHandler
impl Handler for FileHandler
Auto Trait Implementations§
impl Freeze for FileHandler
impl RefUnwindSafe for FileHandler
impl Send for FileHandler
impl Sync for FileHandler
impl Unpin for FileHandler
impl UnwindSafe for FileHandler
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