[−][src]Function sys_util::syslog::set_hostname
pub fn set_hostname<T: Into<String>>(hostname: T)
Replaces the hostname reported in each syslog message.
The default hostname is whatever gethostname()
returned when syslog::init()
was first
called.
Does nothing if syslog was never initialized.