ain*

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

Ain can send messages by UDP to 127.0.0.1:514 or to the a unix socket;
/dev/log on Linux and /var/run/syslog on Mac OS X. The unix sockets only
work for the 0.4.x versions of node.js, unix_dgram sockets support has
been removed from > 0.5.x.

*In the Phoenician alphabet letter "ain" indicates eye.

**All examples tested under Ubuntu rsyslog. On other operating
systems and logging daemons settings and paths may differ.

Installation

You can install ain as usual - by copy the "ain" directory in your
~/.node_modules or via npm

npm install ain2

Usage

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