pub struct LogArgs {
pub filter: String,
pub stderr: bool,
pub proc_name: String,
pub syslog: bool,
pub syslog_facility: Facility,
}Fields§
§filter: StringA filter for log messages. Please see
module level documentation and env_logger crate
Example: off, trace, trace,crosvm=error,base::syslog=debug
stderr: boolIf set to true will duplicate output to stderr
proc_name: StringTAG to use for syslog output
syslog: boolEnable/disable platform’s “syslog”
syslog_facility: FacilityFacility to use for syslog output
Trait Implementations§
source§impl<'de> Deserialize<'de> for LogArgs
impl<'de> Deserialize<'de> for LogArgs
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 LogArgs
impl RefUnwindSafe for LogArgs
impl Send for LogArgs
impl Sync for LogArgs
impl Unpin for LogArgs
impl UnwindSafe for LogArgs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)