@nglogger/raven
v0.0.1
Published
Raven (sentry.io) transport for @nglogger
Downloads
8
Maintainers
Readme
@nglogger/raven
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
- Fork it (https://github.com/nglogger/raven/fork)
- Create your feature branch (
git checkout -b feature/<feature_name>
) - Commit your changes (
git commit -am '<type>(<scope>): added some feature'
) - Push to the branch (
git push origin feature/<feature_name>
) - Create a new Pull Request
Contributors
- SuperPaintman SuperPaintman - creator, maintainer