Packages

Logging Packages

Structured and leveled logging libraries for capturing, formatting, and shipping application logs to observability pipelines (Winston, Pino, Loguru).

85 packages

Packages in Logging

81Health
Library npm

Pino

A super fast, low-overhead JSON logger for Node.js applications.

18,260
MIT
Used by 67
72Health
Library npm

pino-pretty

A CLI and stream that prettifies Pino's ndjson log lines into readable, colorized terminal output for local development.

1,709
MIT
Used by 55
77Health
Library Cargo

tracing

Structured, application-level diagnostics for async Rust programs, built around scoped spans and events.

6,940
MIT
Used by 51
51Health
Library npm

Winston

A battle-tested Node.js logging library with pluggable transports, custom formats, and multiple log levels.

24,527
MIT
Used by 50
79Health
Library Cargo

log

A lightweight logging facade for Rust that decouples libraries from the logging implementation applications choose.

2,557
Other
Used by 38
84Health
Library Go

Logrus

Structured, pluggable logging for Go with a stdlib-compatible API and level-based hooks.

25,763
MIT
Used by 36
94Health
Library PyPI

OpenTelemetry Python SDK

The reference implementation of the OpenTelemetry API for Python - traces, metrics, and logs

2,687
Apache 2.0
Used by 33
62Health
Library npm

debug

A tiny, zero-config JavaScript debugging utility with namespaced, color-coded output for Node.js and the browser.

11,458
MIT
Used by 32
79Health
Library PyPI

loguru

A drop-in replacement for Python's standard logging module that makes logging enjoyable, with almost no setup required.

24,153
MIT
Used by 21
56Health
Library npm

electron-log

Zero-dependency logging for Electron, Node.js, and NW.js apps with file, console, and remote transports.

1,476
MIT
Used by 20
76Health
Library npm

morgan

Battle-tested HTTP request logger middleware for Node.js and Express.

8,200
MIT
Used by 18
83Health
Library Cargo

env_logger

Environment-variable-configured logging backend for Rust's log crate

1,064
Other
Used by 16
66Health
Library Go

zerolog

A zero-allocation, chaining-API JSON logger for Go built for both structured production output and pretty local development logs.

12,519
MIT
Used by 15
77Health
Library PyPI

structlog

Structured, typed logging for Python built on plain functions and dictionaries instead of a bespoke logging DSL.

4,982
Other
Used by 14
70Health
Library Go

logr

A minimal, backend-agnostic structured logging API for Go, letting libraries log without coupling to any specific logging implementation.

1,407
Apache 2.0
Used by 12
60Health
Library npm

pino-http

The fastest structured HTTP request logger for Node.js, built directly on pino and ready to drop into any http server or Express app.

708
MIT
Used by 12
53Health
Library Go

go-systemd

Go bindings for systemd: socket activation, journald logging, D-Bus unit control, and sd_notify readiness signals in pure Go.

2,719
Apache 2.0
Used by 11
46Health
Library npm

winston-daily-rotate-file

A Winston transport that rotates log files daily, by size, and with automatic compression

929
MIT
Used by 10
86Health
Library Composer

Monolog

The PSR-3 logging library that sends PHP logs to files, sockets, databases, and dozens of web services

21,402
MIT
Used by 7
48Health
Library Go

handlers

A collection of composable HTTP middleware for Go's net/http — logging, compression, CORS, proxy headers, and panic recovery.

1,748
BSD 3
Used by 7
54Health
Library Go

tint

A zero-dependency slog.Handler for Go that writes tinted, colorized console logs.

1,363
MIT
Used by 7
44Health
Library Composer

psr/log

The PSR-3 common logger interface that lets PHP libraries accept any logger without depending on a specific implementation.

10,413
MIT
Used by 6
70Health
Library npm

nest-winston

Nest module wrapper wiring winston logging into NestJS's DI and Logger interface

732
MIT
Used by 6
50Health
Library npm

redux-logger

Redux middleware that logs every dispatched action to the console with previous and next state snapshots.

5,713
MIT
Used by 5

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers