pub struct ParametrizedLogger { /* private fields */ }Expand description
Logger sink parametrized for given logging level.
Implementations§
Source§impl ParametrizedLogger
impl ParametrizedLogger
Sourcepub fn new(
sink: Rc<dyn ILogSink>,
level: LogEventLevel,
area: &'static str,
) -> Self
pub fn new( sink: Rc<dyn ILogSink>, level: LogEventLevel, area: &'static str, ) -> Self
Creates a logger that writes to sink with the given level and area.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ParametrizedLogger
impl !Send for ParametrizedLogger
impl !Sync for ParametrizedLogger
impl !UnwindSafe for ParametrizedLogger
impl Freeze for ParametrizedLogger
impl Unpin for ParametrizedLogger
impl UnsafeUnpin for ParametrizedLogger
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more