@trarn/angular-logger
v1.0.8
Published
A logger built with angular in mind
Downloads
6
Readme
Angular Logger by Avernix Technologies
Angular Logger is a simple logging tool
Installation
Install @trarn/angular-logger with npm
npm i @trarn/angular-loggerInstall @trarn/angular-logger with yarn
yarn add @trarn/angular-loggerUsage
// CommonJS
const { log } = require('@trarn/angular-logger');
// ESM
import { log } from '@trarn/angular-logger';Available Log Levels
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| info | method | Accepts two properties; message and data. Again, data can be an object, array, etc. |
| debug | method | Accepts two properties; message and data. Again, data can be an object, array, etc. |
| error | method | Accepts two properties; message and data. Again, data can be an object, array, etc. |
| warn | method | Accepts two properties; message and data. Again, data can be an object, array, etc. |
| assert | method | Accepts an assertion group and a message/object. Acts as a standard console.assert |
| group | method | Starts a console group |
| groupEnd | method | Ends the above mentioned "group" |
| Observable | method | Interacts with/as an angular Observable, accepts an Observable and a name |
Authors
Support
For support, email [email protected] or join our Discord channel Our Discord.
Contributing
We will be setting up a way for people to contribute, in the mean time, fork and create a pull request. Thanks!
Feedback
If you have any feedback, please reach out to us at [email protected]
Avernix Technologies
Avernix Technologies is a software company dedicated to providing solutions for businesses big and small, or even hobbyists.
License
Roadmap
- More to come
Used By
This project is used by the following companies:
- Avernix Technologies
