Append messages to arbitrary TCP destinations.
Usage
tcp_appender(
host,
port,
layout = default_log_layout(),
timeout = getOption("timeout")
)Value
An appender: a function with the interface function(level, ...)
that writes its arguments to the socket and returns invisible(NULL).
See also
appenders for more information on Appenders, and
base::socketConnection() for the underlying connection object
used by tcp_appender().