Learn R Programming

logger (version 0.4.0)

appender_syslog: Send log messages to the POSIX system log

Description

Send log messages to the POSIX system log

Usage

appender_syslog(identifier, ...)

Value

function taking lines argument

Arguments

identifier

A string identifying the process.

...

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

See Also

Other log_appenders: appender_async(), appender_console(), appender_file(), appender_kinesis(), appender_pushbullet(), appender_slack(), appender_stdout(), appender_tee(), appender_telegram()

Examples

Run this code
if (FALSE) {
if (requireNamespace("rsyslog", quietly = TRUE)) {
  log_appender(appender_syslog("test"))
  log_info("Test message.")
}
}

Run the code above in your browser using DataLab