skillfed

spdlog

python wrapper around C++ spdlog logging library (https://github.com/bodgergely/spdlog-python)

spdlog v2.0.6 85.5K downloads/30d#13,919 on PyPI
Permissive license MIT Abandoned released

What it is and what it does

spdlog is a Python binding to the C++ spdlog logging library, designed to bring high-performance structured logging to Python applications. It wraps the underlying C++ implementation via pybind11, allowing developers to use spdlog's logging capabilities from Python code.

The package depends on pybind11 for its runtime bindings and is distributed as a compiled wheel. However, the project has been abandoned for 1213 days (last release 2023-04-19), meaning there is no active maintenance, bug fixes, or support for newer Python versions. Users should verify compatibility with their Python version and consider whether the lack of ongoing maintenance poses a risk for their use case.

Use it for:

  • Integrate spdlog into Python applications that require structured, rotating file logs
  • Use C++ logging infrastructure from Python code while retaining spdlog's behavior
  • Build Python services where logging performance is a measurable concern
  • Maintain consistency with existing C++ spdlog deployments in polyglot environments

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a Python wrapper around the C++ spdlog logging library, enabling fast structured logging from Python code.

No, not recommended. The package is abandoned (no releases for 1213 days) with no maintenance signal, making it risky for new projects. While MIT-licensed and free of known vulnerabilities, the lack of active support means no fixes for compatibility issues with newer Python versions or dependencies. Consider maintained alternatives instead.

Install

spdlog on PyPI

pip

pip install spdlog

uv

uv add spdlog

poetry

poetry add spdlog

Installing spdlog

Before you install

Medium install friction due to compiled wheel dependency (pybind11). Package is abandoned as of 1213 days since last release (2023-04-19), with no active maintenance signal.

License in practice

MIT license permits commercial and private use with minimal restrictions, though abandoned status means no upstream support for license disputes or clarifications.

Quickstart

pip install spdlog
import spdlog
logger = spdlog.rotating_logger_mt('name', 'file.log')

Requires pybind11 at runtime; pre-built wheels available but compilation may be needed on unsupported platforms.

Verify before relying

  • Whether the package works reliably with current Python versions (support unspecified in metadata)
  • Whether pybind11 dependency is vendored or must be installed separately
  • Active maintenance status of the upstream C++ spdlog library itself
  • Specific rotating logger parameters and their defaults

Package facts

License MIT (permissive)
Python support not specified
Install friction medium — platform-specific wheel
Runtime dependencies 1 — pybind11
Maintenance abandoned — 1,213 days since the last release
First released
Downloads 85,490/month — #13,919 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: spdlog-2.0.6-cp310-cp310-win_amd64.whl

Tags

python spdlog wrapperfast c++ logging pythonstructured logging libraryhigh-performance loggingspdlog python bindings
loggingabandonedc++-bindings

More Software Development packages