1.0.2 • Published 8 years ago

winston-errbit-v2 v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

winston-errbit-v2

Errbit winston transporter for using the v2 API of Errbit.

How to use

Super duper easy.

import winston from 'winston';

import { ErrbitLogger } from 'winston-errbit-v2';
import { config } from 'your-config';

export function errbitInit() {
  const options = {
    key: config.errbit.key,
    host: config.errbit.url,
    env: config.env,
  };
  winston.add(ErrbitLogger, options)
}

Maintaining and information

I created this npm package because I had to use it in one of my projects. Since the errbit was kinda legacy we used, I had to make a really simple transporter for it.

At the moment I am really busy with my work, however, I might take my time and make this transporter for every API version of errbit.

But it might not happen until 2016, December.