{"library":"loglevel","type":"library","category":null,"description":"loglevel is a minimal, lightweight logging library for JavaScript environments, including browsers and Node.js. Currently at version 1.9.2, it maintains a steady release cadence focusing on stability and reliability. Its core functionality extends standard `console.log` methods to provide level-based logging (trace, debug, info, warn, error) and filtering, while gracefully handling environments where `console` methods might be absent or limited. Key differentiators include its small footprint (1.4 KB minified and gzipped), lack of external dependencies, preservation of original stack trace line numbers (unlike many wrapper-heavy logging frameworks), and seamless integration with various module systems (CommonJS, AMD, global). It ships with built-in TypeScript definitions and ensures consistent logging behavior across diverse JavaScript runtimes, making it a reliable choice for everyday debugging without introducing complex features like appender reconfiguration or advanced filtering rules.","language":"javascript","status":"active","version":"1.9.2","tags":["javascript","log","logger","logging","browser","typescript"],"install":[{"cmd":"npm install loglevel","imports":["import log from 'loglevel';","const log = require('loglevel');","import log, { LogLevelDesc } from 'loglevel';"]},{"cmd":"yarn add loglevel","imports":[]},{"cmd":"pnpm add loglevel","imports":[]}],"homepage":null,"github":"https://github.com/pimterry/loglevel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/loglevel","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/loglevel/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}