JavaScript Logging

Open-source JavaScript projects categorized as Logging | Edit details

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: Ask HN: How do you deal with logging while developing a webapp? | news.ycombinator.com | 2022-05-17

    I have a decently complex webapp I'm working on and have found logging to be a pain point. I'm currently using debug [1] and viewing the logs in the chrome dev tools console. The issue I've had is that the console gets too noisy and crowded with all logging turned on but if I'm more selective with logging, then I often regret not having logs when I run into a bug. It'd be ideal to have fairly verbose logging always on but be able to have good control over how the logs are filtered. The console log filtering functionality in chrome and Firefox seems pretty limited and I can't do basic filters like "component1Logs | component2Logs".

    I imagine there's some library I could use which runs a local server, logs to some local file, and allows me to filter the logs with whatever shell tools are best. I haven't been able to find such a tool though and also would miss having the object exploration abilities that are in the browser console.

    [1] https://www.npmjs.com/package/debug

  • signale

    Highly configurable logging utility

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • Bunyan

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

    Project mention: Node.js: How to Power Up Your Logging | dev.to | 2022-05-01

    bunyan argues that logs should be structured and that JSON is a good format for that. It describes itself as a “simple and fast JSON logging library” and has all the features you would expect from a logging library, including serializers and support for different runtime environments including Node.js, Browserify and Webpack.

  • log4js-node

    A port of log4js to node.js

    Project mention: Patterns and Anti-patterns in Node.js | dev.to | 2022-03-15

    Log4js: A logger for the Express framework that supports colored console logging out of the box.

  • consola

    Elegant Console Logger for Node.js and Browser 🐨

  • loglevel

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

    Project mention: How do you usually deal with types when using Proxy? | reddit.com/r/typescript | 2021-06-05

    The problem in my case is that TypeScript is actually right :) https://github.com/pimterry/loglevel/blob/master/index.d.ts "Not all constituents of type 'RootLogger' are callable" and it's true.

  • DraftLog

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

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • tracer for node.js

    A powerful and customizable logging library for node.js

  • electron-log

    Just a simple logging module for your Electron application

  • storyboard

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

  • log-process-errors

    Show some ❤️ to Node.js process errors

  • cLoki

    cLoki: like Grafana Loki, but for Clickhouse

    Project mention: Show HN: Distributed Tracing Using OpenTelemetry and ClickHouse | news.ycombinator.com | 2021-12-27

    cloki can be used to read metrics out of any CH table so it should work fine.

    we also just introduced experimental support for ingesting OTLP/ZIPKIN spans and a tempo-compatible API in cloki, looking for testers to validate this feature:

    https://github.com/lmangani/cLoki/wiki/Tempo-Tracing#clickho...

    Internally trace spans are stored as tagged JSON logs, meaning they are available from both Loki and Tempo APIs and can be used from pretty much any visualization, too!

  • intel

    I need more intel!

  • ptkdev-logger

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

  • console-log-level

    The most simple logger imaginable

  • browser-bunyan

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

  • Logtown

    🦄 Simple Logging Facade for JavaScript

  • loggin-js

    📝 Customizable and expandable logger for Node.js

  • sematext-agent-express

    Express.js Monitoring and Logging Agent by Sematext

  • logitall

    logitall is a command-line utility that adds a console.log() to every line of code in your program.

    Project mention: console.log() Everything | news.ycombinator.com | 2022-04-01
  • contextual-logging-nodejs

    Contextual logging in Node.js with Pino and AsyncLocalStorage

  • sensedeep

    SenseDeep Serverless Monitoring and Troubleshooting for AWS

    Project mention: Open Architecture Logging with SenseDeep | dev.to | 2021-06-17
  • logzone

    a package to print pretty log messages. you can use predefined or customize your own!

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). The latest post mention was on 2022-05-17.

JavaScript Logging related posts

Index

What are some of the best open-source Logging projects in JavaScript? This list will help you:

Project Stars
1 debug 10,156
2 signale 8,636
3 Bunyan 6,836
4 log4js-node 5,352
5 consola 3,730
6 loglevel 2,232
7 DraftLog 1,187
8 tracer for node.js 1,111
9 electron-log 946
10 storyboard 711
11 log-process-errors 448
12 cLoki 244
13 intel 200
14 ptkdev-logger 116
15 console-log-level 92
16 browser-bunyan 88
17 Logtown 33
18 loggin-js 20
19 sematext-agent-express 13
20 logitall 10
21 contextual-logging-nodejs 8
22 sensedeep 3
23 logzone 3
Find remote jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com