pub struct LogSyslogWriterConfig {
pub level: Option<u32>,
pub format: LogFormatConfigOverride,
pub identity: Option<String>,
pub facility: Option<i32>,
}Expand description
File appender configuration for logging
Fields§
§level: Option<u32>Level override
format: LogFormatConfigOverrideFormat override
identity: Option<String>syslog identity, process name by default
facility: Option<i32>Facility, 1 (USER) by default
Trait Implementations§
Source§impl Clone for LogSyslogWriterConfig
impl Clone for LogSyslogWriterConfig
Source§fn clone(&self) -> LogSyslogWriterConfig
fn clone(&self) -> LogSyslogWriterConfig
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 LogSyslogWriterConfig
impl Debug for LogSyslogWriterConfig
Source§impl<'de> Deserialize<'de> for LogSyslogWriterConfig
impl<'de> Deserialize<'de> for LogSyslogWriterConfig
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
Auto Trait Implementations§
impl Freeze for LogSyslogWriterConfig
impl RefUnwindSafe for LogSyslogWriterConfig
impl Send for LogSyslogWriterConfig
impl Sync for LogSyslogWriterConfig
impl Unpin for LogSyslogWriterConfig
impl UnwindSafe for LogSyslogWriterConfig
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