Append messages to arbitrary TCP destinations.
tcp_appender(
host,
port,
layout = default_log_layout(),
timeout = getOption("timeout")
)
Hostname for the socket connection.
Port number for the socket connection.
A layout function taking a level
parameter and
additional arguments corresponding to the message.
Timeout for the connection.
appenders()
for more information on Appenders, and
base::socketConnection()
for the underlying connection object
used by tcp_appender
.