Logging Packages
Structured and leveled logging libraries for capturing, formatting, and shipping application logs to observability pipelines (Winston, Pino, Loguru).
Packages in Logging
Kind
Sort:Used by Most Apps
OpenTelemetry Python SDK
The reference implementation of the OpenTelemetry API for Python - traces, metrics, and logs
loguru
A drop-in replacement for Python's standard logging module that makes logging enjoyable, with almost no setup required.
structlog
Structured, typed logging for Python built on plain functions and dictionaries instead of a bespoke logging DSL.
Monolog
The PSR-3 logging library that sends PHP logs to files, sockets, databases, and dozens of web services
python-json-logger
Format Python's standard logging output as structured JSON
Pydantic Logfire
Python observability SDK from the Pydantic team, built on OpenTelemetry for tracing, metrics, and logs.
Laravel Activitylog
Records and queries a full audit trail of activity inside your Laravel application
Symfony Monolog Bridge
Integrates the Monolog logging library with Symfony components and services.
django-auditlog
Effortless audit logging of model changes for Django applications
Laravel Pail
Dive into your Laravel application's log files directly from the command line with a sleek, filterable CLI.
starlette-context
Store and access per-request context data anywhere in a Starlette or FastAPI app.
coloredlogs
Colored, human-friendly terminal output for Python's built-in logging module.
concurrent-log-handler
Drop-in replacement for Python's RotatingFileHandler that lets multiple processes safely write to and rotate the same log file.
IceCream
A Python debugging library that prints both an expression and its value, so you never have to write print("x:", x) again.
Symfony Debug
Symfony's Debug component provides tools to ease debugging PHP code, converting errors into exceptions and formatting fatal errors clearly.
rollbar/rollbar
The official Rollbar PHP SDK for error and exception monitoring and reporting.
laravel-gelf-logger
Laravel custom log channel that sends GELF logs to Graylog and compatible backends.
spacy-loggers
Training-run loggers for spaCy: Weights & Biases, MLflow, ClearML, PyTorch, CuPy