Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 19 lines (12 sloc) 0.561 kb
1a8d27d @akaspin Initial commit
authored
1 # ain
2
3 Brain-free node.js logger for syslog.
4
5 *Ain* written with full compatibility with *node.js* `console` module. It
6 implements all `console` functions and formatting. Also *ain* supports UTF-8
7 (tested on Debian Testing/Sid).
8
9 ## Usage
10
11 Usage of *ain* is very similar to *node.js* console. Following example
12 demonstrates the replacement of the console:
13
14 var console = require('ain');
15 console.init(logger.LEVEL0, 'node-test-app');
16
17 console.log('notice level by number %d', Date.now());
18 console.info('info level');
19
Something went wrong with that request. Please try again.