loggrr
Loggr provides logging goodness by presenting error details in a readable format.
Installation
Using cdn:
Using npm:
$ npm install loggrr
Using bower:
$ bower install loggrr
Example
Usually this code snippet wil raise an exception that isn't very helpful.
; // Uncaught ReferenceError: foo is not defined
But with loggrr:
Loggrr; ;/*Type: errorError: Uncaught ReferenceError: foo is not definedStack Trace: ReferenceError: foo is not defined at demo/index.html:32:9File Name: index.htmlPath: demo/index.htmlLine Number: 32 Column: 9Date: Sun Jul 17 2016 14:42:52 GMT+0200 (SAST)Debug: demo/index.html:32Help: https://stackoverflow.com/search?q=Uncaught+ReferenceError:+foo+is+not+defined*/
Usage
loggrr // Initializes loggrr, more options to come
Demo
See the demo folder.
Still to do
- Enable remote logging of error information.
- Customization of error messages.