Skip to content

AngularLogExtender is an AngularJS module that extends the Angular $log functionality. It uses the native $decorator to push the $log pass its capabilities and provide new functionality such as configuring the $log for different environments such as production and development

License

Notifications You must be signed in to change notification settings

lwhiteley/AngularLogExtender

Repository files navigation

AngularLogExtender

Build Status Coverage Status

This is an extension of the Angular $log functionality. It uses the native $decorator to push the $log pass its capabilities and provide new functionality such as configuring the $log for different environments such as production and development.

How to Use

Please view our wiki for detailed documentation.

Notes

You can include the module in your AngularJS Application and it does all the work immediately. Methods native to the log extender are not publicly available in your AngularJs Application so this extension can be used as a standalone plugin. Advanced configurations can be done to make the $log service fit your personal development style. Log methods are now colour coded by default.

Install with bower

Now offers bower support.

bower install --save angular-logex

Add the script to your index.html:

<script src="/bower_components/angular-logex/dist/log-ex-unobtrusive.js"></script>

Credits

To view the blog this module was extended from and inspired by, go to http://solutionoptimist.com/2013/10/07/enhance-angularjs-logging-using-decorators/

Development

If you wish to contribute, Please read the Develop.md file.

Feel Free to make your own contributions to this module so we can make it better :)

==================== License: MIT | Made with 💚

About

AngularLogExtender is an AngularJS module that extends the Angular $log functionality. It uses the native $decorator to push the $log pass its capabilities and provide new functionality such as configuring the $log for different environments such as production and development

Resources

License

Stars

Watchers

Forks

Packages

No packages published