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
- Host: GitHub
- URL: https://github.com/anthonynahas/ngx-logcat
- Owner: AnthonyNahas
- License: mit
- Created: 2019-01-02T09:42:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-29T09:49:18.000Z (about 7 years ago)
- Last Synced: 2024-05-22T23:23:22.146Z (about 2 years ago)
- Topics: angular, debugging, logcat, logging-library, ngx-logcat
- Language: JavaScript
- Size: 732 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ngx-logcat - an angular open source library for logging and debugging purposes
[](https://badge.fury.io/js/ngx-logcat),
[](https://ngx-auth-firebaseui.firebaseapp.com)
[](https://gitter.im/angular-material-extensions/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://circleci.com/gh/AnthonyNahas/ngx-auth-firebaseui)
[](https://travis-ci.org/AnthonyNahas/ngx-logcat)
[](https://coveralls.io/github/AnthonyNahas/ngx-logcat?branch=master)
[](https://david-dm.org/AnthonyNahas/ngx-logcat)
[](https://david-dm.org/AnthonyNahas/ngx-logcat#info=devDependencies)
[](https://greenkeeper.io/)
[](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)