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

85Health
Library npm

Pino

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

18,227
MIT
Used by 67
71Health
Library npm

pino-pretty

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

1,707
MIT
Used by 55
58Health
Library Cargo

tracing

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

6,892
MIT
Used by 51
60Health
Library npm

Winston

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

24,519
MIT
Used by 50
71Health
Library Cargo

log

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

2,552
Other
Used by 38
83Health
Library Go

Logrus

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

25,755
MIT
Used by 36
93Health
Library PyPI

OpenTelemetry Python SDK

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

2,649
Apache 2.0
Used by 33
50Health
Library npm

debug

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

11,456
MIT
Used by 32
71Health
Library PyPI

loguru

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

24,134
MIT
Used by 21
60Health
Library npm

electron-log

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

1,475
MIT
Used by 20
74Health
Library npm

morgan

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

8,204
MIT
Used by 18
85Health
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,508
MIT
Used by 15
76Health
Library PyPI

structlog

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

4,965
Other
Used by 14
76Health
Library Go

logr

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

1,408
Apache 2.0
Used by 12
65Health
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.

705
MIT
Used by 12
57Health
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,714
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

927
MIT
Used by 10
87Health
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,743
BSD 3
Used by 7
53Health
Library Go

tint

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

1,360
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,415
MIT
Used by 6
67Health
Library npm

nest-winston

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

731
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,710
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