#[non_exhaustive]pub struct LoggingConfig {
pub driver_log_levels: HashMap<String, Level>,
/* private fields */
}Expand description
The runtime logging config of the job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.driver_log_levels: HashMap<String, Level>The per-package log levels for the driver. This can include “root” package name to configure rootLogger. Examples:
- ‘com.google = FATAL’
- ‘root = INFO’
- ‘org.apache = DEBUG’
Implementations§
Source§impl LoggingConfig
impl LoggingConfig
pub fn new() -> Self
Sourcepub fn set_driver_log_levels<T, K, V>(self, v: T) -> Self
pub fn set_driver_log_levels<T, K, V>(self, v: T) -> Self
Sets the value of driver_log_levels.
Trait Implementations§
Source§impl Clone for LoggingConfig
impl Clone for LoggingConfig
Source§fn clone(&self) -> LoggingConfig
fn clone(&self) -> LoggingConfig
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 LoggingConfig
impl Debug for LoggingConfig
Source§impl Default for LoggingConfig
impl Default for LoggingConfig
Source§fn default() -> LoggingConfig
fn default() -> LoggingConfig
Returns the “default value” for a type. Read more
Source§impl Message for LoggingConfig
impl Message for LoggingConfig
Source§impl PartialEq for LoggingConfig
impl PartialEq for LoggingConfig
impl StructuralPartialEq for LoggingConfig
Auto Trait Implementations§
impl Freeze for LoggingConfig
impl RefUnwindSafe for LoggingConfig
impl Send for LoggingConfig
impl Sync for LoggingConfig
impl Unpin for LoggingConfig
impl UnwindSafe for LoggingConfig
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