Bragi works with both client-side (browsers, CommonJS, Browserify, or RequireJS) and server-side (Node.js) environments, and will help developers debug their applications with the help of a well-structured logging mechanism.
The library is quite easy to use and will allow developers to setup various log levels which log different application details, based on the output and details needed to properly debug the code on each level.
Setting up the library may require some coding on your part, but once you get used with the process, you'll be very happy when an error occurs, having all the debugging tools at your disposal already built-in.
The "error" and "warn" log types are included by default, along with simple colorized console logging for both Node and browser environments.
All log messages will produce a simple JSON object, making them easy to handle by any local or remote server, debugging service, or third-party application.
Requirements:
- JavaScript enabled on client side
- Node.js for server-side environments
Comments not found