appender_syslognet | R Documentation |
Send log messages to a network syslog server
appender_syslognet(identifier, server, port = 601L)
identifier |
program/function identification (string). |
server |
machine where syslog daemon runs (string). |
port |
port where syslog daemon listens (integer). |
A function taking a lines
argument.
This functionality depends on the syslognet package.
## Not run:
if (requireNamespace("syslognet", quietly = TRUE)) {
log_appender(appender_syslognet("test_app", "remoteserver"))
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.