# gabime/spdlog

Fast C++ logging library.

Repository: https://github.com/gabime/spdlog
Canonical: https://ross.abutalabs.com/products/spdlog
Language: C++
License: NOASSERTION
License Family: other
Topics: header-only, cpp11, cpp, logging, spdlog
Last push: 2026-08-08T10:51:08+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 52, longevity 100
- inputs: {"age_days": 4324, "days_push": 25, "days_rel": 241, "gap_med": 83, "n_releases_24m": 6}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 29526, forks 5390 (observed 2026-08-28T04:11:53.535028+00:00)

## What it is
spdlog is a very fast C++ logging library that can be used header-only or compiled, with formatting powered by the fmt library. It supports asynchronous logging, multiple log targets (rotating/daily files, console, syslog, Windows event log), runtime-adjustable log levels, and backtrace buffering.

## Use cases
- add fast logging to a C++ application
- log to rotating or daily files in C++
- asynchronous logging for multithreaded C++ programs
- colored console logging in C++
- header-only logging library for C++11
- write logs to syslog or Windows event log

## When to choose
- you need high-performance logging in a C++ project
- you want a header-only option with no dependencies beyond fmt
- you need multiple log sinks like files, console, syslog, or Windows event log
- you want runtime-configurable log levels and backtrace support

## When to avoid
- you are not working in C++
- you need structured/JSON logging out of the box without extra sinks
- you require a distributed or centralized logging solution rather than an in-process library

## Facets
- artifact type: library
- maturity: stable
- function: logging
- domain: developer-tools, backend, cross-platform
- platform: cpp, windows, cross-platform
- tags: header-only, cpp11, asynchronous-logging, log-rotation, fmt-based-formatting, high-performance, linux, macos, android

## Member repositories
- gabime/spdlog (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:53.535028+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:52:58.583984+00:00, confidence not recorded.
  - readme: https://github.com/gabime/spdlog (fetched 2026-08-28T04:11:53.535028+00:00, sha 7329c86a087f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
