Skip to content

Repository files navigation

Angular Logger by Avernix Technologies

Angular Logger is a simple logging tool

Installation

Install @trarn/angular-logger with npm

 npm i @trarn/angular-logger

Install @trarn/angular-logger with yarn

 yarn add @trarn/angular-logger

Usage

// CommonJSconst{ log }=require('@trarn/angular-logger');// ESMimport{log}from'@trarn/angular-logger';

Available Log Levels

ParameterTypeDescription
infomethodAccepts two properties; message and data. Again, data can be an object, array, etc.
debugmethodAccepts two properties; message and data. Again, data can be an object, array, etc.
errormethodAccepts two properties; message and data. Again, data can be an object, array, etc.
warnmethodAccepts two properties; message and data. Again, data can be an object, array, etc.
assertmethodAccepts an assertion group and a message/object. Acts as a standard console.assert
groupmethodStarts a console group
groupEndmethodEnds the above mentioned "group"
ObservablemethodInteracts with/as an angular Observable, accepts an Observable and a name

Authors

Support

For support, email support@avernix.com 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 feedback@avernix.com

Avernix Technologies

Avernix Technologies is a software company dedicated to providing solutions for businesses big and small, or even hobbyists.

License

MIT

Roadmap

  • More to come

Used By

This project is used by the following companies:

  • Avernix Technologies

About

A logger built with angular in mind

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages