An open API service indexing awesome lists of open source software.

https://github.com/anthonynahas/ngx-logcat

Ngx-logcat is an angular open source library for logging and debugging purposes
https://github.com/anthonynahas/ngx-logcat

angular debugging logcat logging-library ngx-logcat

Last synced: about 2 months ago
JSON representation

Ngx-logcat is an angular open source library for logging and debugging purposes

Awesome Lists containing this project

README

          



# ngx-logcat - an angular open source library for logging and debugging purposes

[![npm version](https://badge.fury.io/js/ngx-logcat.svg)](https://badge.fury.io/js/ngx-logcat),
[![demo](https://img.shields.io/badge/demo-online-ed1c46.svg)](https://ngx-auth-firebaseui.firebaseapp.com)
[![Join the chat at https://gitter.im/angular-material-extensions/Lobby](https://badges.gitter.im/angular-material-extensions/Lobby.svg)](https://gitter.im/angular-material-extensions/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![CircleCI branch](https://img.shields.io/circleci/project/github/AnthonyNahas/ngx-auth-firebaseui/master.svg?label=circleci)](https://circleci.com/gh/AnthonyNahas/ngx-auth-firebaseui)
[![Build Status](https://travis-ci.org/AnthonyNahas/ngx-logcat.svg?branch=master)](https://travis-ci.org/AnthonyNahas/ngx-logcat)
[![Coverage Status](https://coveralls.io/repos/github/AnthonyNahas/ngx-logcat/badge.svg?branch=master)](https://coveralls.io/github/AnthonyNahas/ngx-logcat?branch=master)
[![dependency Status](https://david-dm.org/AnthonyNahas/ngx-logcat/status.svg)](https://david-dm.org/AnthonyNahas/ngx-logcat)
[![devDependency Status](https://david-dm.org/AnthonyNahas/ngx-logcat/dev-status.svg?branch=master)](https://david-dm.org/AnthonyNahas/ngx-logcat#info=devDependencies)
[![Greenkeeper Badge](https://badges.greenkeeper.io/AnthonyNahas/ngx-logcat.svg)](https://greenkeeper.io/)
[![license](https://img.shields.io/github/license/anthonynahas/ngx-auth-firebaseui.svg?style=flat-square)](https://github.com/AnthonyNahas/ngx-auth-firebaseui/blob/master/LICENSE)

## Demo

View all the directives in action at [https://anthonynahas.github.io/ngx-logcat](https://anthonynahas.github.io/ngx-logcat)

## Dependencies
* [Angular](https://angular.io) (*requires* Angular 2 or higher, tested with 2.0.0)

## Installation
Install above dependencies via *npm*.

Now install `ngx-logcat` via:
```shell
npm install --save ngx-logcat
```

---
##### SystemJS
>**Note**:If you are using `SystemJS`, you should adjust your configuration to point to the UMD bundle.
In your systemjs config file, `map` needs to tell the System loader where to look for `ngx-logcat`:
```js
map: {
'ngx-logcat': 'node_modules/ngx-logcat/bundles/ngx-logcat.umd.js',
}
```
---

Once installed you need to import the main module:
```js
import { NgxLogcatModule } from 'ngx-logcat';
```
The only remaining part is to list the imported module in your application module. The exact method will be slightly
different for the root (top-level) module for which you should end up with the code similar to (notice ` NgxLogcatModule .forRoot()`):
```js
import { NgxLogcatModule } from 'ngx-logcat';

@NgModule({
declarations: [AppComponent, ...],
imports: [NgxLogcatModule.forRoot(), ...],
bootstrap: [AppComponent]
})
export class AppModule {
}
```

Other modules in your application can simply import ` NgxLogcatModule `:

```js
import { NgxLogcatModule } from 'ngx-logcat';

@NgModule({
declarations: [OtherComponent, ...],
imports: [NgxLogcatModule, ...],
})
export class OtherModule {
}
```

## Usage

## License

Copyright (c) 2019 Anthony Nahas Licensed under the MIT License (MIT)