$npx skillfedfor your agent

loguru

Python logging made (stupidly) simple

Worth itPyPI LoggingReleased Dec 202481.9M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — loguru-0.7.3-py3-none-any.whl
v0.7.3 · released 2024-12-06 · Python <4.0,>=3.5 · 3 runtime deps: colorama, aiocontextvars, win32-setctime

Yes. Loguru is actively maintained, has no known vulnerabilities, low install friction, solves a genuine pain point—Python's standard logging is verbose, error-prone for simple use cases. The permissive MIT license removes any legal barrier. Install it if you want logging to feel natural but with the power, structure that production code needs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with only three runtime dependencies (colorama, aiocontextvars, win32-setctime).
  • Actively maintained with last commit on 2026-07-01 and stable production status.

License · maintenance · safety

permissive license (permissive) — MIT license (permissive); no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2024-12-06 (616 days) · last repo commit 2026-07-01 · 24,070 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,864,712 downloads/mo, #411 on PyPI

Verify before relying

from loguru import logger

logger.debug("That's it, beautiful and simple logging!")
logger.add("file_{time}.log", rotation="500 MB")
  • Whether the '10x faster than built-in logging' claim in the description is independently verified or benchmark-specific.
  • Performance characteristics when using enqueue=True for multiprocess-safe logging at scale.
Same gist for agents: .md · .json

What it is and what it does

Loguru is a logging library designed to eliminate the boilerplate of Python's standard logging module. Instead of configuring handlers, formatters, filters separately, you import a single pre-configured logger object to start logging immediately—no setup required. The logger outputs to stderr by default but can be extended to files, coroutines, or custom sinks using a single add() function.

The package handles common logging tasks that are tedious in the standard library: automatic file rotation based on size or time, log retention, compression, colored terminal output, thread-safe message queuing, multiprocess-safe message queuing, detailed exception tracing with variable values. It supports modern string formatting with braces, lazy evaluation of expensive logging expressions, can catch exceptions in threads or the main thread via a decorator or context manager.

Use it for

  • Replace print() debugging with proper logging from the start of a project without configuration overhead.
  • Set up rotating file logs with automatic cleanup, compression for long-running applications.
  • Catch, log exceptions in background threads with full stack traces, variable inspection.
  • Add colored, formatted logging to CLI tools, scripts with a single import, one-line add() call.
  • Integrate structured logging into existing applications while maintaining compatibility with standard logging handlers.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Loguru is actively maintained, has no known vulnerabilities, low install friction, solves a genuine pain point—Python's standard logging is verbose, error-prone for simple use cases. The permissive MIT license removes any legal barrier. Install it if you want logging to feel natural but with the power, structure that production code needs.

Install

loguru on PyPI

Before you install

Low friction: pure Python wheel with only three runtime dependencies (colorama, aiocontextvars, win32-setctime). Actively maintained with last commit on 2026-07-01 and stable production status.

License in practice

MIT license (permissive); no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

from loguru import logger

logger.debug("That's it, beautiful and simple logging!")
logger.add("file_{time}.log", rotation="500 MB")

Verify before relying

  • Whether the '10x faster than built-in logging' claim in the description is independently verified or benchmark-specific.
  • Performance characteristics when using enqueue=True for multiprocess-safe logging at scale.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release <4.0,>=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
coloramaaiocontextvarswin32-setctime
MaintenanceActively maintained 616 days since the last release
Last repo commit
First released
Downloads81,864,712 / month, #411 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: System :: Logging

Evidence: loguru-0.7.3-py3-none-any.whl

Tags

Capabilities
python logging librarysimple logger no configstructured loggingfile rotation loggingcolored log outputexception logging with tracebackthread-safe logging
Topics
loggingdebuggingstructured-logging
PyPI keywords
loguruloggingloggerlog

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “simple logger no config”

  • loguruLoguru provides a pre-configured logger that replaces Python's…
  • logzerologzero provides pre-configured Python logging to console and/or…
  • python-simple-loggerProvides a simple logger for console and file output with built-in…

Give your agent the search over MCP, or paste the wish link into any chat.

More Logging packages

tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
python-json-logger Worth it
PyPI · Logging · released Mar 2026

Formats Python logging output as JSON, making logs machine-readable for parsing and ingestion into log aggregation tools.

Install it if you need JSON-formatted logs for aggregation or centralized monitoring.

BSD-2-Clausepure Python · 3.10+
122.1Mdownloads / mo
structlog Worth it
PyPI · Logging · released Jun 2026

structlog is a structured logging library that lets you emit logs as dictionaries with flexible output formats (JSON, logfmt, console) and integrates with Python's standard logging or runs standalone.

Install it if your application needs JSON or logfmt output, or if you want to add rich context to logs without string formatting.

MIT OR Apache-2.0pure Python · 3.10+
113.6Mdownloads / mo
coloredlogs With conditions
PyPI · Software Development · released Jun 2021

Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.

However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.

MITpure Pythonabandoned
39.6Mdownloads / mo
wandb Worth it
PyPI · Python Modules · released Aug 2026

wandb is a machine learning experiment tracking and visualization platform that logs metrics, hyperparameters, datasets, and models to a centralized dashboard for monitoring and comparing training runs.

Install it if you need centralized experiment tracking, comparison, and visualization for machine learning projects; skip it if you prefer local-only logging or have…

MITcompiled wheel · 3.10+
26.4Mdownloads / mo
progressbar2 Worth it
PyPI · Libraries · released Aug 2026

progressbar2 renders text-based progress bars in the terminal, handling custom widgets, concurrent bars, unknown-length progress, and clean output around logs and prints.

BSD-3-Clausepure Python · 3.10+
19.3Mdownloads / mo

See also Logbook · loki-logger-handler · logistro · pytest-loguru · concurrent-log-handler · daiquiri · datadog-logger · glog · logger · pygtail