pub struct _Logger {
pub level: Level,
/* private fields */
}
Expand description
A logger node.
note: Normaly you should never have to create an instance by yourself.
Fields§
§level: Level
The level of the logger.
Implementations§
Source§impl _Logger
impl _Logger
Sourcepub fn add_handler(&self, handler: Arc<Box<dyn Handler>>)
pub fn add_handler(&self, handler: Arc<Box<dyn Handler>>)
Add a new handler to the logger node.
pub fn clear_handlers(&self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for _Logger
impl RefUnwindSafe for _Logger
impl Send for _Logger
impl Sync for _Logger
impl Unpin for _Logger
impl UnwindSafe for _Logger
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