Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more. Learn more →
Top 23 JavaScript Logging Projects
-
debug
A tiny JavaScript debugging utility modelled after Node.js core's debugging technique. Works in Node.js and web browsers
Project mention: If you're building a JavaScript library and need logging, you would love LogTape | news.ycombinator.com | 2025-06-23It seems a lot of thought was put into the design of LogTape. I may integrate my logging tool with LogTape. My tool needs the callsite, so I don't think I can just write a LogTape sink; I think it would also have to wrap/extend LogTape itself.
---
I built a DX-focused logging library on top of debug-js. Notable features of https://github.com/Leftium/gg:
- Automatic namespaces based on calling function + path to source filename/path.
- Can be inserted into the middle of expressions.
- Can output a link that opens the file in your editor/IDE of choice.
- Simple to disable
- Diagnostics/hints to help with installation/configuration
---
I was surprised by the amount of logs already being output (by Vite) when I simply added https://github.com/debug-js/debug to my project.
Fortunately, debug-js output is very simple to filter via ENV and/or localStorage.debug
---
What I look for in a logging library (with more focus on dev/debugging than production):
- Easy to add new logs.
- Easy to identify the location of the code that triggered the log. I noticed a lot of my logging was simply to indicate the start and maybe end of a function call. If needed, I might add additional logs between these.
- Easy to surgically disable/filter groups of logs. Should be easier than commenting/uncommenting calls to logger. Otherwise I end up with lots of uninteresting log chatter (or I delete log statements, only to add them again later...)
-
SurveyJS
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
-
-
Project mention: How we built a Node.js Middleware to Log HTTP API Requests and Responses | dev.to | 2025-03-27
Bunyan
-
Project mention: How we built a Node.js Middleware to Log HTTP API Requests and Responses | dev.to | 2025-03-27
Log4js
-
loglevel
:ledger: Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods
-
electron-log
Simple logging module Electron/Node.js/NW.js application. No dependencies. No complicated configuration.
-
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
-
-
-
-
-
-
-
-
-
-
-
-
moesif-nodejs
Moesif Node.js middleware (formerly Moesif-Express), for API Monitoring, Analytics, and Monetization.
Moesif: Offers dedicated API analytics with user segmentation and revenue metrics
-
treblle-node
The official Treblle SDK for NodeJS/ExpressJS/NestJS. Seamlessly integrate Treblle to manage communication with your dashboard, send errors, and secure sensitive data.
-
-
-
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
JavaScript Logging discussion
JavaScript Logging related posts
-
If you're building a JavaScript library and need logging, you would love LogTape
-
Most Effective Approaches for Debugging Applications
-
OSF API: The Complete Guide
-
Using Test-Driven Development to Get Better AI-Generated Code
-
From CosmosDB to DynamoDB: Migrating and Containerizing a FastAPI + React App
-
Gamedev.js Jam 2025 start and theme announcement!
-
Step-by-Step Guide to Front-end Engineering — A Comprehensive Tutorial
-
A note from our sponsor - SurveyJS
surveyjs.io | 19 Jul 2025
Index
What are some of the best open-source Logging projects in JavaScript? This list will help you:
# | Project | Stars |
---|---|---|
1 | debug | 11,300 |
2 | signale | 8,980 |
3 | Bunyan | 7,203 |
4 | log4js-node | 5,825 |
5 | loglevel | 2,689 |
6 | electron-log | 1,406 |
7 | logtrail | 1,394 |
8 | DraftLog | 1,250 |
9 | tracer for node.js | 1,154 |
10 | screenlog.js | 856 |
11 | storyboard | 759 |
12 | log-process-errors | 469 |
13 | intel | 201 |
14 | ptkdev-logger | 183 |
15 | SAML-tracer | 159 |
16 | console-log-level | 112 |
17 | logpipe | 94 |
18 | browser-bunyan | 93 |
19 | moesif-nodejs | 41 |
20 | treblle-node | 36 |
21 | contextual-logging-nodejs | 24 |
22 | frugal | 22 |
23 | loggin-js | 22 |