node-syslog
node-syslog copied to clipboard
Add additional logging facilities
Hello,
This patch adds all the standard UNIX logging facilities and lets a user specify them by name or number when creating the logger.
for example:
syslog.createClient(514, 'localhost', {facility: "LOCAL0"});
This also fixes a bug where 'faculty' is used instead of 'facility'.
-Shaun