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:

https://www.npmjs.com/package/syslog-client

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

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/42d0aa1f-b671-4421-8c6c-742432e29677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to