Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.

nglogger/raven

Repository files navigation

@nglogger/raven

Linux Build Test Coverage Commitizen friendly NPM version NPM Downloads

Raven (sentry.io) transport for @nglogger


Installation

$ npm install --save @nglogger/core @nglogger/raven
# Or with yarn
$ yarn add @nglogger/core @nglogger/raven

Usage

'use strict';
import { NgModule } from '@angular/core';

import * as Raven from 'raven-js';

import { LoggerModule } from '@nglogger/core';
import { RavenTransportModule, RavenTransport } from '@nglogger/raven';


@NgModule({
  imports: [
    RavenTransportModule.forRoot(Raven),
    LoggerModule.forRoot([
      RavenTransport
    ])
  ],
  bootstrap: [
    AppComponent
  ]
})
export class AppModule { }

Build

$ npm install
$ # or
$ yarn
$
$ npm run build

Test

$ npm run test

Contributing

  1. Fork it (https://github.com/nglogger/raven/fork)
  2. Create your feature branch (git checkout -b feature/<feature_name>)
  3. Commit your changes (git commit -am '<type>(<scope>): added some feature')
  4. Push to the branch (git push origin feature/<feature_name>)
  5. Create a new Pull Request

Contributors


Changelog

Changelog


License

MIT