bind_streams_to_syslog

Function bind_streams_to_syslog 

Source
pub fn bind_streams_to_syslog(
    ns: &Namespace,
    stdout_sink: StreamSink,
    stderr_sink: StreamSink,
) -> (ExecutionScope, Vec<HandleInfo>)
Expand description

Bind stdout or stderr streams to syslog. This function binds either or both output streams to syslog depending on value provided for each streams’ StreamSink. If the value for an output stream is set to StreamSink::Log, that stream’s file descriptor will be bound to syslog. All writes on that