pub struct ServerLoggingConfig {
pub current_level: LogLevel,
pub allow_level_changes: bool,
pub default_logger_config: LoggerConfig,
}Expand description
Server logging configuration
Fields§
§current_level: LogLevelCurrent minimum log level
allow_level_changes: boolWhether clients can change the log level
default_logger_config: LoggerConfigDefault logger configuration for new contexts
Trait Implementations§
Source§impl Clone for ServerLoggingConfig
impl Clone for ServerLoggingConfig
Source§fn clone(&self) -> ServerLoggingConfig
fn clone(&self) -> ServerLoggingConfig
Returns a duplicate 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 ServerLoggingConfig
impl Debug for ServerLoggingConfig
Auto Trait Implementations§
impl Freeze for ServerLoggingConfig
impl RefUnwindSafe for ServerLoggingConfig
impl Send for ServerLoggingConfig
impl Sync for ServerLoggingConfig
impl Unpin for ServerLoggingConfig
impl UnwindSafe for ServerLoggingConfig
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