- Upgrade unix-dgram to 0.2.3 (josephfrazier)
- Fix socket bind problem in combination with cluster.js for node verions > v0.10.x (Issue #33)
- Have travis test more node versions
- Remove debug console.log (thx chazomaticus)
- Bubble up callbacks from udp and unix socket up to the caller
- Workaround for issue with node cluster on node 0.11.x (greenboxal)
- Added support for unix-dgram for node versions > 0.5
- Added travis build file to drive tests
- Reusing socket to send messages over UDP (Carlos Brito Lage/cblage)
Bugfix release
- The logging to file function crashed on unsupported systems due to immediate execution
- 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