- Custom message composer
WARNING: This upgrade is not API compatible to previous version.
-
Change the API to actually use JavaScript's new operator to create loggers
var SysLogger = require('ain2'); var logger = new SysLogger({ port : 514, tag : 'myTag' });
-
If you want to have singleton logger, use
var logger = require('ain2').getInstance();
- Support for node v0.6.0 (Yoji Shidara/darashi)
- Support for unix sockets, for the 0.4.x branch of node (Parham Michael Ossareh/ossareh)
- Explicitly fall back to original
console
object to log send failures (Mark Wubben/novemberborn) - Default hostname to machine name rather than localhost (Mark Wubben/novemberborn)
- Fixes to make jslint happy (Mark Wubben/novemberborn, Patrick Huesler/phuesler)
- Test server for local testing
- add support for custom host and port