Skip to content
Syslog logging for node.js
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Brain-free node.js logger for syslog.

Ain written with full compatibility with node.js console module. It implements all console functions and formatting. Also ain supports UTF-8 (tested on Debian Testing/Sid).


Usage of ain is very similar to node.js console. Following example demonstrates the replacement of the console:

var console = require('ain');
console.init(logger.LEVEL0, 'node-test-app');

console.log('notice level by number %d',;'info level');
Something went wrong with that request. Please try again.