Socket
Socket
Sign inDemoInstall

ain2

Package Overview
Dependencies
16
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1

1.2.1

Diff

Changelog

Source

v1.2.1

  • Reusing socket to send messages over UDP (Carlos Brito Lage/cblage)
phuesler
published 1.1.1 •

Changelog

Source

v1.1.1

Bugfix release

  • The logging to file function crashed on unsupported systems due to immediate execution
phuesler
published 1.1.0 •

Changelog

Source

v1.1.0

  • Custom message composer
phuesler
published 1.0.0 •

Changelog

Source

v1.0.0

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();
    
phuesler
published 0.2.1 •

Changelog

Source

v0.2.1

  • Support for node v0.6.0 (Yoji Shidara/darashi)
published 0.2.0 •

Changelog

Source

v0.2.0

  • Support for unix sockets, for the 0.4.x branch of node (Parham Michael Ossareh/ossareh)
published 0.1.0 •

published 0.0.3 •

Changelog

Source

v0.0.3

  • 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
published 0.0.2 •

Changelog

Source

v0.0.2

  • add support for custom host and port
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc