pub struct RawLoggerConfig {
pub log_path: String,
pub level: LogLevel,
pub show_level: bool,
pub show_log_origin: bool,
pub module: Option<String>,
}Expand description
Raw /logger PUT body off the wire.
Fields§
§log_path: StringPath to a regular file or named pipe.
level: LogLevelLog level filter.
show_level: boolInclude the level in each line.
show_log_origin: boolInclude the file:line origin in each line.
module: Option<String>Tracing module filter.
Trait Implementations§
Source§impl Clone for RawLoggerConfig
impl Clone for RawLoggerConfig
Source§fn clone(&self) -> RawLoggerConfig
fn clone(&self) -> RawLoggerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RawLoggerConfig
impl Debug for RawLoggerConfig
Source§impl<'de> Deserialize<'de> for RawLoggerConfig
impl<'de> Deserialize<'de> for RawLoggerConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl TryFrom<RawLoggerConfig> for LoggerConfig
impl TryFrom<RawLoggerConfig> for LoggerConfig
Auto Trait Implementations§
impl Freeze for RawLoggerConfig
impl RefUnwindSafe for RawLoggerConfig
impl Send for RawLoggerConfig
impl Sync for RawLoggerConfig
impl Unpin for RawLoggerConfig
impl UnsafeUnpin for RawLoggerConfig
impl UnwindSafe for RawLoggerConfig
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