pub struct LogArgs {
pub filter: String,
pub stderr: bool,
pub proc_name: String,
pub syslog: bool,
pub syslog_facility: Facility,
}
Fields§
§filter: String
A filter for log messages. Please see
module level documentation and env_logger
crate
Example: off
, trace
, trace,crosvm=error,base::syslog=debug
stderr: bool
If set to true will duplicate output to stderr
proc_name: String
TAG to use for syslog output
syslog: bool
Enable/disable platform’s “syslog”
syslog_facility: Facility
Facility 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 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