Single file, no dependencies, weighs in at 1.1KB minified and gzipped.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.Log things at a given level (trace/debug/info/warn/error) to the console object (as seen in all modern browsers & node.js).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 ![]() This is a barebones reliable everyday logging library. loglevel replaces console.log() and friends with level-based logging and filtering, with none of console's downsides. Minimal lightweight simple logging for JavaScript. Don't debug with logs alone - check out HTTP Toolkit: beautiful, powerful & open-source tools for building, testing & debugging HTTP(S)
0 Comments
Leave a Reply. |