spdlog
brew install spdlog
v1.17.0
MIT
Fast C++ logging library with header-only and compiled modes, supporting multiple sinks and formatters.
Why you might care
Spdlog is a production-grade logging library for C++ projects needing high-throughput async logging with minimal overhead. It offers both header-only and precompiled variants; the compiled version dramatically reduces build times while maintaining performance. Use it as a dependency in C++ applications where logging must not become a bottleneck.
3.0k
30-day installs · #806
8.2k
90-day · #892
36.2k
365-day · #805
28.9k
★ GitHub stars · updated 7d ago
Runtime dependencies
Build dependencies
GitHub topics
cpp
cpp11
header-only
logging
spdlog
Links
- https://github.com/gabime/spdlog
- GitHub: gabime/spdlog
- Brew formula source: Formula/s/spdlog.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"log4cpp",
"glog",
"boost::log",
"serilog"
],
"build_dependencies": [
"cmake"
],
"categories": [
"library",
"header-only-library"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"fmt"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Super fast C++ logging library",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:06+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "spdlog",
"github_default_branch": "v1.x",
"github_last_commit_at": "2026-06-13T16:38:05Z",
"github_readme_excerpt": "# spdlog\r\n\r\n \r\n[](https://github.com/gabime/spdlog/actions/workflows/linux.yml)\u0026nbsp;\r\n[](https://github.com/gabime/spdlog/actions/workflows/windows.yml)\u0026nbsp;\r\n[](https://github.com/gabime/spdlog/actions/workflows/macos.yml)\u0026nbsp;\r\n[](https://ci.appveyor.com/project/gabime/spdlog) [](https://github.com/gabime/spdlog/releases/latest)\r\n\r\nFast C++ logging library\r\n\r\n\r\n## Install\r\n#### Header-only version\r\nCopy the include [folder](include/spdlog) to your build tree and use a C++11 compiler.\r\n\r\n#### Compiled version (recommended - much faster compile times)\r\n```console\r\n$ git clone https://github.com/gabime/spdlog.git\r\n$ cd spdlog \u0026\u0026 mkdir build \u0026\u0026 cd build\r\n$ cmake .. \u0026\u0026 cmake --build .\r\n```\r\nsee example [CMakeLists.txt](example/CMakeLists.txt) on how to use.\r\n\r\n## Platforms\r\n* Linux, FreeBSD, OpenBSD, Solaris, AIX\r\n* Windows (msvc 2013+, cygwin)\r\n* macOS (clang 3.5+)\r\n* Android\r\n\r\n## Package managers:\r\n* Debian: `sudo apt install libspdlog-dev`\r\n* Homebrew: `brew install spdlog`\r\n* MacPorts: `sudo port install spdlog`\r\n* FreeBSD: `pkg install spdlog`\r\n* Fedora: `dnf install spdlog`\r\n* Gentoo: `emerge dev-libs/spdlog`\r\n* Arch Linux: `pacman -S spdlog`\r\n* openSUSE: `sudo zypper in spdlog-devel`\r\n* ALT Linux: `apt-get install libspdlog-devel`\r\n* vcpkg: `vcpkg install spdlog`\r\n* conan: `conan install --requires=spdlog/[*]`\r\n* conda: `conda install -c conda-forge spdlog`\r\n* build2: ```depends: spdlog ^1.8.2```\r\n\r\n\r\n## Features\r\n* Very fast (see [benchmarks](#benchmarks) below).\r\n* Headers only or compiled\r\n* Feature-rich formatting, using the excellent [fmt](https://github.com/fmt",
"github_repo": "gabime/spdlog",
"github_stars": 28944,
"github_topics": [
"cpp",
"cpp11",
"header-only",
"logging",
"spdlog"
],
"homepage": "https://github.com/gabime/spdlog",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 2959,
"installs_365d": 36186,
"installs_90d": 8221,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": "2026-06-20T23:47:10+00:00",
"llm_model": "claude-haiku-4-5",
"name": "spdlog",
"oldnames": [],
"one_liner": "Fast C++ logging library with header-only and compiled modes, supporting multiple sinks and formatters.",
"optional_dependencies": [],
"rank_30d": 806,
"rank_365d": 805,
"rank_90d": 892,
"raw_hash": "4208c1e914462302",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/s/spdlog.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.17.0",
"versioned_formulae": [],
"why_use_this": "Spdlog is a production-grade logging library for C++ projects needing high-throughput async logging with minimal overhead. It offers both header-only and precompiled variants; the compiled version dramatically reduces build times while maintaining performance. Use it as a dependency in C++ applications where logging must not become a bottleneck."
}