powered by
Send log messages to a network syslog server
appender_syslognet(identifier, server, port = 601L)
A function taking a lines argument.
lines
program/function identification (string).
machine where syslog daemon runs (string).
port where syslog daemon listens (integer).
if (FALSE) { if (requireNamespace("syslognet", quietly = TRUE)) { log_appender(appender_syslognet("test_app", "remoteserver")) log_info("Test message.") } }
Run the code above in your browser using DataLab