Skip to contents

Send log messages to the POSIX system log

Usage

appender_syslog(identifier, ...)

Arguments

identifier

A string identifying the process.

...

Further arguments passed on to rsyslog::open_syslog().

Value

function taking lines argument

Note

This functionality depends on the rsyslog package.

Examples

if (FALSE) { # \dontrun{
if (requireNamespace("rsyslog", quietly = TRUE)) {
  log_appender(appender_syslog("test"))
  log_info("Test message.")
}
} # }