pimterry/loglevel
:ledger: Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods observed · 2026-08-28
Health v2 · maintenance only
28/100
- Activity 12
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4911
- days_rel: 726
- days_push: 531
- n_releases_24m: 1
Adoption not part of the score
2747 stars · 160 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
loglevel is a minimal, lightweight JavaScript logging library that adds reliable level-based logging (trace/debug/info/warn/error) on top of the console object. It works in browsers, Node.js, and other JS environments, preserving stack traces and line numbers while gracefully handling missing console support.
Use cases
- add leveled logging to a JavaScript app
- filter console logs by severity in production
- replace console.log with a reliable logger that keeps line numbers
- lightweight browser logging library with no dependencies
- enable trace-level debugging in the console during development
- log safely in environments without a console object
When to choose
- you want barebones, dependable console logging with level filtering
- bundle size matters and you need a tiny zero-dependency logger
- you need logging that preserves stack traces and line numbers
- you need consistent logging across browsers and Node.js
When to avoid
- you need appenders, transports, or structured log shipping to external services
- you need complex filtering rules or plugin-based logging pipelines
- you want file-based or server-side log output rather than console
Facets
library · maturity stable
logging developer-tools web-development frontend browser console-logging log-levels lightweight zero-dependency nodejs javascript
2 sources
- readme: https://github.com/pimterry/loglevel · fetched 2026-08-28 · 3c16c8892c8b
- registry_npm: https://registry.npmjs.org/loglevel · fetched 2026-08-29 · 8d6cf441e4d2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pimterry/loglevel | main | 28 |
For agents
markdown · JSON · MCP: product_card(name="pimterry/loglevel")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem