Struct syslog::Formatter3164 [−][src]
pub struct Formatter3164 {
pub facility: Facility,
pub hostname: Option<String>,
pub process: String,
pub pid: u32,
}
Fields
facility: Facility
hostname: Option<String>
process: String
pid: u32
Trait Implementations
Returns a Formatter3164
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 Formatter3164
impl Send for Formatter3164
impl Sync for Formatter3164
impl Unpin for Formatter3164
impl UnwindSafe for Formatter3164
Blanket Implementations
Mutably borrows from an owned value. Read more