pub struct DynamicLogger { /* private fields */ }Expand description
Dynamic logger created by LoggingBuilder
Trait Implementations§
Source§impl Debug for DynamicLogger
impl Debug for DynamicLogger
Source§impl HasLogFormat for DynamicLogger
impl HasLogFormat for DynamicLogger
Source§impl HasLogLevel for DynamicLogger
impl HasLogLevel for DynamicLogger
Source§fn level(&self) -> LoggingLevel
fn level(&self) -> LoggingLevel
The current or target logging level
Source§fn should_log(&self, message_level: LoggingLevel) -> bool
fn should_log(&self, message_level: LoggingLevel) -> bool
Check if a message at the given level should be logged
Source§impl HasLogTransport for DynamicLogger
impl HasLogTransport for DynamicLogger
Source§fn batch_size(&self) -> Option<usize>
fn batch_size(&self) -> Option<usize>
Optional batching configuration
Source§fn should_deliver(&self, threshold_level: LoggingLevel) -> bool
fn should_deliver(&self, threshold_level: LoggingLevel) -> bool
Optional filtering criteria
Source§impl HasLoggingMetadata for DynamicLogger
impl HasLoggingMetadata for DynamicLogger
Auto Trait Implementations§
impl Freeze for DynamicLogger
impl RefUnwindSafe for DynamicLogger
impl Send for DynamicLogger
impl Sync for DynamicLogger
impl Unpin for DynamicLogger
impl UnwindSafe for DynamicLogger
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> LoggerDefinition for T
impl<T> LoggerDefinition for T
Source§fn to_message_notification(&self) -> LoggingMessageNotification
fn to_message_notification(&self) -> LoggingMessageNotification
Convert this logger definition to a LoggingMessageNotification
Source§fn to_set_level_request(&self) -> SetLevelRequest
fn to_set_level_request(&self) -> SetLevelRequest
Convert this logger definition to a SetLevelRequest