# SergiusTheBest/plog

Portable, simple and extensible C++ logging library

Repository: https://github.com/SergiusTheBest/plog
Canonical: https://ross.abutalabs.com/products/plog
Language: C++
License: MIT
License Family: permissive
Topics: logging, header-only, cross-platform, logger, log, library, c-plus-plus
Last push: 2026-08-07T07:44:11+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 10, longevity 100
- inputs: {"age_days": 4293, "days_push": 26, "days_rel": 388, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2577, forks 405 (observed 2026-08-28T04:07:02.293921+00:00)

## What it is
Plog is a portable, header-only C++ logging library in about 1000 lines of code. It offers multiple formatters (txt, CSV) and appenders (rolling file, console, Android, Windows Event Log) with simple initialization and extensibility.

## Use cases
- add logging to a C++ application
- header-only logging library with no dependencies
- rolling log files in C++
- log to console and file simultaneously in C++
- cross-platform C++ logger for Windows Linux and Android
- lightweight logging for embedded Arduino projects

## When to choose
- you want a small, dependency-free, header-only C++ logging solution
- you need cross-platform logging including mobile and embedded targets
- you want extensible appenders and formatters with minimal setup

## When to avoid
- you need async or high-performance structured logging at scale
- your project already standardizes on a larger framework like spdlog or Boost.Log

## Facets
- artifact type: library
- maturity: stable
- function: logging
- domain: developer-tools, cross-platform
- platform: cpp, cross-platform, windows, embedded
- tags: header-only, c-plus-plus, rolling-file, console-logging, csv-format, extensible-appenders, linux, macos, android

## Member repositories
- SergiusTheBest/plog (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.293921+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-30T02:22:41.268110+00:00, confidence not recorded.
  - readme: https://github.com/SergiusTheBest/plog (fetched 2026-08-28T04:07:02.293921+00:00, sha d8a91c48f230)
- Data as of 2026-08-30T08:39:29.467469+00:00.
