0.0.1 • Published 8 years ago
@nglogger/raven v0.0.1
@nglogger/raven
Raven (sentry.io) transport for @nglogger
Installation
$ npm install --save @nglogger/core @nglogger/raven
# Or with yarn
$ yarn add @nglogger/core @nglogger/ravenUsage
'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 buildTest
$ npm run testContributing
- 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
Changelog
License
0.0.1
8 years ago