pub struct EventLoggerConfig {
pub destination: LogDestination,
pub structured: bool,
pub log_level: Level,
}Expand description
Configuration for the event logger
Fields§
§destination: LogDestinationWhere to send the log output
structured: boolWhether to use structured (JSON) logging
log_level: LevelThe log level to use
Trait Implementations§
Source§impl Clone for EventLoggerConfig
impl Clone for EventLoggerConfig
Source§fn clone(&self) -> EventLoggerConfig
fn clone(&self) -> EventLoggerConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EventLoggerConfig
impl Debug for EventLoggerConfig
Auto Trait Implementations§
impl Freeze for EventLoggerConfig
impl !RefUnwindSafe for EventLoggerConfig
impl Send for EventLoggerConfig
impl Sync for EventLoggerConfig
impl Unpin for EventLoggerConfig
impl !UnwindSafe for EventLoggerConfig
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