Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avernixtechnologies/angular-logger
A logger built with angular in mind
https://github.com/avernixtechnologies/angular-logger
Last synced: 23 days ago
JSON representation
A logger built with angular in mind
- Host: GitHub
- URL: https://github.com/avernixtechnologies/angular-logger
- Owner: avernixtechnologies
- License: mit
- Created: 2024-03-02T17:46:23.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-06T04:05:28.000Z (9 months ago)
- Last Synced: 2024-11-07T08:07:54.906Z (about 1 month ago)
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@trarn/angular-logger
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-angular - angular-logger - A logger built with Angular in mind. (Table of contents / Third Party Components)
- fucking-awesome-angular - angular-logger - A logger built with Angular in mind. (Table of contents / Third Party Components)
- fucking-awesome-angular - angular-logger - A logger built with Angular in mind. (Table of contents / Third Party Components)
README
# Angular Logger by Avernix Technologies
Angular Logger is a simple logging tool
## Installation
Install @trarn/angular-logger with npm
```bash
npm i @trarn/angular-logger
```Install @trarn/angular-logger with yarn
```bash
yarn add @trarn/angular-logger
```
## Usage```javascript
// 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
- [@avernixtechnologies](https://www.github.com/avernixtechnologies)
## Support
For support, email [email protected] or join our Discord channel [Our Discord](https://discord.gg/zpdd6VTxwg).
## 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
[MIT](https://choosealicense.com/licenses/mit/)
## Roadmap
- More to come
## Used By
This project is used by the following companies:
- Avernix Technologies