@nglogger/core

Pluggable logger for Angular 2 / 4 / 5

Usage no npm install needed!

<script type="module">
  import ngloggerCore from 'https://cdn.skypack.dev/@nglogger/core';
</script>

README

@nglogger/core

Linux Build Test Coverage Commitizen friendly NPM version NPM Downloads

Pluggable logger for Angular 2 / 4 / 5


Installation

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

Usage

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

import { LoggerModule } from '@nglogger/core';


@NgModule({
  imports: [
    LoggerModule.forRoot([
      /** Transports */
    ])
  ],
  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/core/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