Struct syslog::Formatter5424 [−][src]
pub struct Formatter5424 {
pub facility: Facility,
pub hostname: Option<String>,
pub process: String,
pub pid: u32,
}
Fields
facility: Facility
hostname: Option<String>
process: String
pid: u32
Implementations
Trait Implementations
Returns a Formatter5424
with default settings.
The default settings are as follows:
facility
:LOG_USER
, as specified by POSIX.hostname
: Automatically detected using thehostname
crate, if possible.process
: Automatically detected usingstd::env::current_exe
, or if that fails, an empty string.pid
: Automatically detected usinglibc::getpid
.
Auto Trait Implementations
impl RefUnwindSafe for Formatter5424
impl Send for Formatter5424
impl Sync for Formatter5424
impl Unpin for Formatter5424
impl UnwindSafe for Formatter5424
Blanket Implementations
Mutably borrows from an owned value. Read more