Send log messages to the POSIX system log
Arguments
- identifier
A string identifying the process.
- ...
Further arguments passed on to
rsyslog::open_syslog()
.
See also
This is generator function for log_appender()
, for
alternatives, see eg appender_console()
, appender_file()
,
appender_tee()
, appender_pushbullet()
,
appender_telegram()
, appender_kinesis()
and
appender_async()
for evaluate any log_appender()
function
in a background process.
Examples
if (FALSE) { # \dontrun{
if (requireNamespace("rsyslog", quietly = TRUE)) {
log_appender(appender_syslog("test"))
log_info("Test message.")
}
} # }