Using ErrLog.IO with NodeJS

 

One of users and fellow developer, Aaron Chilcott, has built a NodeJS wrapper for ErrLog, and recently published it to NPM.

Whilst still in beta, it's a great way to start logging errors and exceptions from within your NodeJS apps, works very well!

NPM Package: https://www.npmjs.com/package/errlog.io-webhook

An extract from Aaron's instructions:

Installation

npm install errlog.io-webhook

Import

import {ErrLogIo} from 'errlog.io-webhook';
const errLogIo = ErrLogIo('my-errlog.io-API-key');

Usage

errLogIo.send({message: 'The penguins are escaping!', applicationname: 'my-shiny-new-app'});

Learn more about the project over on NPM and his Github repo.

 

Links


 

Discuss this article