10 Best JavaScript Logging Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

pino

🌲 super fast, all natural json logger

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.7/ 5
7
Top Feedback
5Easy to Use
5Performant
3Great Documentation
GitHub Stars
8K
Weekly Downloads
2M
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
log

loglevel

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
1Easy to Use
GitHub Stars
2K
Weekly Downloads
10M
Last Commit
6mos ago
Bundle Size (min+gzip)
1.23KB
Not Tree-Shakeable
nl

ngx-logger

Angular logger

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
1Easy to Use
GitHub Stars
355
Weekly Downloads
54K
Last Commit
3mos ago
Bundle Size (min+gzip)
3.30KB
Tree-Shakeable
tra

tracer

A powerful and customizable logging library for node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
2
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
1K
Weekly Downloads
1M
Last Commit
4mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

winston-daily-rotate-file

A transport for winston which logs to a rotating file each day.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
647
Weekly Downloads
411K
Last Commit
2mos ago
Bundle Size (min+gzip)
94.4KB
Not Tree-Shakeable
ew

express-winston

express.js middleware for winstonjs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Easy to Use
1Highly Customizable
GitHub Stars
723
Weekly Downloads
219K
Last Commit
10d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

winston

A logger for just about everything.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
35
Top Feedback
20Great Documentation
18Highly Customizable
12Performant
GitHub Stars
18K
Weekly Downloads
6M
Last Commit
1mo ago
Bundle Size (min+gzip)
39.1KB
Not Tree-Shakeable

morgan

HTTP request logger middleware for node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
16
Top Feedback
11Great Documentation
8Easy to Use
6Highly Customizable
GitHub Stars
7K
Weekly Downloads
3M
Last Commit
2yrs ago
Bundle Size (min+gzip)
4.82KB
Not Tree-Shakeable
ftc

fetch-to-curl

Convert javascript fetch requests to curl

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
35
Weekly Downloads
5K
Last Commit
17d ago
Bundle Size (min+gzip)
0.69KB
Not Tree-Shakeable
olo

ololog

A better console.log for the log-driven debugging junkies

License Icon
License: Unlicense
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
159
Weekly Downloads
3K
Last Commit
7mos ago
Bundle Size (min+gzip)
18.2KB
Not Tree-Shakeable

@awesomeeng/awesome-log

Logging for enterprise ready nodejs applications.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
1Great Documentation
1Easy to Use
GitHub Stars
25
Weekly Downloads
4K
Last Commit
2mos ago
Bundle Size (min+gzip)
22.8KB
Not Tree-Shakeable

express-pino-logger

🌲 an express middleware to log with pino

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
166
Weekly Downloads
87K
Last Commit
5d ago
Bundle Size (min+gzip)
7.26KB
Not Tree-Shakeable
cf

console-feed

Captures console.log's into a React Component 🔥

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
403
Weekly Downloads
5K
Last Commit
9mos ago
Bundle Size (min+gzip)
43.5KB
Not Tree-Shakeable

cabin

🌲 Cabin is the best JavaScript and Node.js logging service and logging npm package

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
678
Weekly Downloads
1K
Last Commit
7mos ago
Bundle Size (min+gzip)
17.9KB
Not Tree-Shakeable
vl

vuejs-logger

Provides customizable logging functionality for Vue.js. Compatible with Vue2.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
235
Weekly Downloads
14K
Last Commit
1yr ago
Bundle Size (min+gzip)
1.32KB
Not Tree-Shakeable

log4js

A port of log4js to node.js

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
6
Top Feedback
3Great Documentation
2Performant
2Highly Customizable
GitHub Stars
5K
Weekly Downloads
3M
Last Commit
1yr ago
Bundle Size (min+gzip)
24.2KB
Not Tree-Shakeable
sig

signale

Highly configurable logging utility

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.3/ 5
3
Top Feedback
1Great Documentation
1Easy to Use
1Highly Customizable
GitHub Stars
9K
Weekly Downloads
829K
Last Commit
2yrs ago
Bundle Size (min+gzip)
16.2KB
Not Tree-Shakeable
jl

js-logger

Lightweight, unobtrusive, configurable JavaScript logger.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.0/ 5
1
Top Feedback
N/A
GitHub Stars
582
Weekly Downloads
27K
Last Commit
8d ago
Bundle Size (min+gzip)
1.18KB
Not Tree-Shakeable

redux-logger

Logger for Redux

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
4
Top Feedback
4Great Documentation
4Easy to Use
1Performant
GitHub Stars
6K
Weekly Downloads
916K
Last Commit
3yrs ago
Bundle Size (min+gzip)
3.53KB
Not Tree-Shakeable
log

logging

Lightweight informative modern console logging.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
1
Top Feedback
N/A
GitHub Stars
52
Weekly Downloads
4K
Last Commit
9mos ago
Bundle Size (min+gzip)
0.23KB
Not Tree-Shakeable
bun

bunyan

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
3.0/ 5
1
Top Feedback
1Easy to Use
GitHub Stars
7K
Weekly Downloads
2M
Last Commit
9mos ago
Bundle Size (min+gzip)
5.46KB
Not Tree-Shakeable

@teambit/logger

A tool for component-driven application development.

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
14K
Weekly Downloads
2K
Last Commit
1d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@angular-ru/logger

🅰️ ngular-RU Software Development Kit

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
39
Weekly Downloads
182
Last Commit
1d ago
Bundle Size (min+gzip)
3.62KB
Tree-Shakeable

@ngxs/logger-plugin

🚀 NGXS - State Management for Angular

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
3K
Weekly Downloads
74K
Last Commit
12d ago
Bundle Size (min+gzip)
1.44KB
Tree-Shakeable

@dagonmetric/ng-log

Vendor-agnostic logging, analytics and telemetry service abstractions and some implementations for Angular applications.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
14
Weekly Downloads
1K
Last Commit
7d ago
Bundle Size (min+gzip)
2.69KB
Tree-Shakeable

@commercetools-backend/loggers

Tools and components for developing Merchant Center Applications 🛠

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
37
Weekly Downloads
554
Last Commit
9d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
mb

morgan-body

A highly configurable Express logger that logs request and response body and is nicely colorized for your terminal :)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
82
Weekly Downloads
20K
Last Commit
4mos ago
Bundle Size (min+gzip)
105.9KB
Not Tree-Shakeable

@run-z/log-z

Log that in browser or Node.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
245
Last Commit
6d ago
Bundle Size (min+gzip)
5.87KB
Not Tree-Shakeable
rdm

react-debug-mixin

A React mixin component for logging React component lifecycle methods

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
1Great Documentation
GitHub Stars
4
Weekly Downloads
3
Last Commit
7yrs ago
Bundle Size (min+gzip)
0.39KB
Not Tree-Shakeable
nl

next-logger

JSON logging patcher for Next.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
29
Weekly Downloads
7K
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
eci

express-correlation-id

Express middleware to correlate requests across http calls

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
20
Weekly Downloads
13K
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
nel

network-error-logging

Middleware for setting the NEL HTTP response header

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
3
Weekly Downloads
491
Last Commit
5d ago
Bundle Size (min+gzip)
0.61KB
Not Tree-Shakeable

moesif-nodejs

Moesif Nodejs Middleware Library (formerly Moesif-Express)

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
34
Weekly Downloads
1K
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
cr

cls-rtracer

Request Tracer - CLS-based request id generation for Express, Fastify, Koa and Hapi, batteries included

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
216
Weekly Downloads
22K
Last Commit
5mos ago
Bundle Size (min+gzip)
4.32KB
Not Tree-Shakeable
etl

elapsed-time-logger

Similiar to console.time() but returns readable elapsed time e.g Label: 1 hour 20 minutes 10.3 seconds

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
186
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

@rplan/express-middleware

[![Build Status](https://travis-ci.org/actano/rplan-express-middleware.svg?branch=master)](https://travis-ci.org/actano/rplan-express-middleware)

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
477
Last Commit
3d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

@byu-oit/express-logger

Default express logging middleware to match BYU Application Development logging standards

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
166
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

vue-logger-plugin

Flexible logging functionality for Vue.js with support for custom hook operations.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
10
Weekly Downloads
538
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
log

@rockpack/logger

Rockpack is a simple solution for creating React Application with Server Side Rendering, bundling, linting, testing within 5 minutes

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
264
Weekly Downloads
27
Last Commit
6d ago
Bundle Size (min+gzip)
3.92KB
Not Tree-Shakeable

@ngworker/lumberjack

Chop and cut Angular logs like a professional lumberjack.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
139
Weekly Downloads
112
Last Commit
2mos ago
Bundle Size (min+gzip)
2.35KB
Tree-Shakeable

axe

Logging add-on to send logs over HTTP to your server in Node and Browser environments. Works with any logger! Chop up your logs consistently! Made for Cabin and Lad.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
20
Weekly Downloads
2K
Last Commit
9mos ago
Bundle Size (min+gzip)
17.3KB
Not Tree-Shakeable
gpd

gatsby-plugin-datadog

Gatsby plugin to add Datadog log collection and real user monitoring (RUM) to your Gatsby site.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
2K
Last Commit
8mos ago
Bundle Size (min+gzip)
0.13KB
Not Tree-Shakeable

express-logging

Express middleware to log, using a configurable logger, each request and response.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
13
Weekly Downloads
85K
Last Commit
5yrs ago
Bundle Size (min+gzip)
0.90KB
Not Tree-Shakeable

@fliegwerk/logsemts

A semantic logging solution implemented with TypeScript

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
1Highly Customizable
GitHub Stars
3
Weekly Downloads
132
Last Commit
5mos ago
Bundle Size (min+gzip)
7.48KB
Tree-Shakeable
glo

@dyihoon90/glogging

Logger for Node.js HTTP server applications. Useful for audit trail

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
128
Last Commit
10d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

sematext-agent-express

Express.js Monitoring and Logging Agent by Sematext

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
12
Weekly Downloads
145
Last Commit
2mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
fro

frontail

📝 streaming logs to the browser. Sponsored by https://cloudash.dev

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
775
Last Commit
4mos ago
Bundle Size (min+gzip)
265.4KB
Not Tree-Shakeable
rl

rfx-logger

Collection of packages useful for website development in angular 2+

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2
Weekly Downloads
4
Last Commit
16d ago
Bundle Size (min+gzip)
1.54KB
Tree-Shakeable

use-reducer-logger

A very basic logger for the useReducer function in the React Hooks API.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
84
Weekly Downloads
2K
Last Commit
6d ago
Bundle Size (min+gzip)
0.29KB
Not Tree-Shakeable
rr

rapid-react

A light weight interactive CLI Automation Tool 🛠️ for rapid scaffolding of tailored React apps with Create React App under the hood. :atom:

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
71
Weekly Downloads
2
Last Commit
7mos ago
Bundle Size (min+gzip)
295.4KB
Not Tree-Shakeable