Hi All,
I know there are quite a few syslog clients out there on npm but I couldn't find one which supports both UDP and TCP, so here is one:
The interface is nice and clean with (hopefully) sensible defaults:
require("syslog-client").createClient("127.0.0.1").log("example message");
This sends a message to the local host using port 514, uses the local hosts name in the HEADER field of the message, and uses the local0 facility and informational severity.
Steve