JavaScript Logging

Open-source JavaScript projects categorized as Logging

Top 23 JavaScript Logging Projects

  1. 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-23

    It 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...)

  2. 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.

    SurveyJS logo
  3. signale

    Highly configurable logging utility

  4. Bunyan

    a simple and fast JSON logging module for node.js services

    Project mention: How we built a Node.js Middleware to Log HTTP API Requests and Responses | dev.to | 2025-03-27

    Bunyan

  5. log4js-node

    A port of log4js to node.js

    Project mention: How we built a Node.js Middleware to Log HTTP API Requests and Responses | dev.to | 2025-03-27

    Log4js

  6. loglevel

    :ledger: Minimal lightweight logging for JavaScript, adding reliable log level methods to wrap any available console.log methods

  7. electron-log

    Simple logging module Electron/Node.js/NW.js application. No dependencies. No complicated configuration.

  8. logtrail

    Kibana plugin to view, search & live tail log events

  9. 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.

    Stream logo
  10. DraftLog

    📜 Create mutable log lines into the terminal, and give life to your logs!

  11. tracer for node.js

    A powerful and customizable logging library for node.js

  12. screenlog.js

    Bring console.log on the screen

  13. storyboard

    End-to-end, hierarchical, real-time, colorful logs and stories

  14. log-process-errors

    Show some ❤️ to Node.js process errors

  15. intel

    I need more intel!

  16. ptkdev-logger

    🦒 Beautiful Logger for Node.js: the best alternative to the console.log statement

  17. SAML-tracer

    Browser extension for examining SAML messages

  18. console-log-level

    The most simple logger imaginable

  19. logpipe

    Inspect your logs

  20. browser-bunyan

    An adaptation of, the Node logging library, Bunyan specifically for the browser.

  21. moesif-nodejs

    Moesif Node.js middleware (formerly Moesif-Express), for API Monitoring, Analytics, and Monetization.

    Project mention: API Pricing Strategies: Segmentation and Personalized Models | dev.to | 2025-04-09

    Moesif: Offers dedicated API analytics with user segmentation and revenue metrics

  22. 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.

  23. contextual-logging-nodejs

    Contextual logging in Node.js with Pino and AsyncLocalStorage

  24. frugal

    ⚡️ Transform AI/ML operations: Transparency, Control and Cost Optimization. ⚡️ (by NumexaHQ)

  25. loggin-js

    📝 Customizable and expandable logger for Node.js

  26. 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.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Logging discussion

Log in or Post with

JavaScript Logging related posts

  • If you're building a JavaScript library and need logging, you would love LogTape

    2 projects | news.ycombinator.com | 23 Jun 2025
  • Most Effective Approaches for Debugging Applications

    15 projects | dev.to | 27 Apr 2025
  • OSF API: The Complete Guide

    6 projects | dev.to | 22 Apr 2025
  • Using Test-Driven Development to Get Better AI-Generated Code

    3 projects | dev.to | 21 Apr 2025
  • From CosmosDB to DynamoDB: Migrating and Containerizing a FastAPI + React App

    3 projects | dev.to | 21 Apr 2025
  • Gamedev.js Jam 2025 start and theme announcement!

    4 projects | dev.to | 13 Apr 2025
  • Step-by-Step Guide to Front-end Engineering — A Comprehensive Tutorial

    9 projects | dev.to | 2 Apr 2025
  • A note from our sponsor - SurveyJS
    surveyjs.io | 19 Jul 2025
    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 →

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

Sponsored
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.
surveyjs.io