{"repo":"pimterry/loglevel","free":true,"listed":false,"github":"https://github.com/pimterry/loglevel","clone":"git clone https://github.com/pimterry/loglevel.git","description":":ledger: Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods","language":"JavaScript","stars":2747,"topics":["javascript","logging","lightweight","loglevel","stack-traces","setlevel"],"license":"MIT","category":"dev-tools","readme_excerpt":"loglevel [![NPM version][npm-image]][npm-url] [npm-image]: https://img.shields.io/npm/v/loglevel.svg?style=flat [npm-url]: https://npmjs.org/package/loglevel Don't debug with logs alone - check out HTTP Toolkit: beautiful, powerful & open-source tools for building, testing & debugging HTTP(S) Minimal lightweight simple logging for JavaScript (browsers, node.js or elsewhere). loglevel extends console.log() & friends with level-based logging and filtering, with none of console's downsides. Test it out live in your browser console at https://pimterry.github.io/loglevel/demo/index.html Loglevel is a barebones reliable everyday logging library. It does not do fancy things, it does not let you reconfigure appenders or add complex log filtering rules or boil tea (more's the pity), but it does have the all core functionality that you actually use: Features Simple Log things at a given level (trace/debug/info/warn/error) to the console object (as seen in all modern browsers & node.js). Filter logging by level (all the above or 'silent'), so you can disable all but error logging in production, and then run log.setLevel(\"trace\") in your console to turn it all back on for a furious debugging session. Single file, no dependencies, weighs in at 1.4 KB minified and gzipped. Effective Log methods gracefully fall back to simpler console logging methods if more specific ones aren't available: so calls to log.debug() go to console.debug() if possible, or console.log() if not. Logging calls stil","default_branch":null,"files":null,"tree":[],"storefront":"/r/pimterry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pimterry/loglevel/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}