appender_syslog | R Documentation |
Send log messages to the POSIX system log
appender_syslog(identifier, ...)
identifier |
A string identifying the process. |
... |
Further arguments passed on to |
function taking lines
argument
This functionality depends on the rsyslog package.
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.
## Not run:
if (requireNamespace("rsyslog", quietly = TRUE)) {
log_appender(appender_syslog("test"))
log_info("Test message.")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.