C++ Logging

Open-source C++ projects categorized as Logging

Top 23 C++ Logging Projects

  • spdlog

    Fast C++ logging library.

    Project mention: CMake question | reddit.com/r/cpp_questions | 2023-01-11

    FetchContent_Declare( spdlog GIT_REPOSITORY https://github.com/gabime/spdlog GIT_TAG origin/v1.x ) FetchContent_MakeAvailable(spdlog)

  • POCO

    The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

    Project mention: What are some C++ projects with high quality code that I can read through? | reddit.com/r/cpp_questions | 2023-01-16
  • Sonar

    Write Clean C++ Code. Always.. Sonar helps you commit clean C++ code every time. With over 550 unique rules to find C++ bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • glog

    C++ implementation of the Google logging module

    Project mention: libbase - standalone reimplementation useful parts of Chromium's //base module | reddit.com/r/cpp | 2022-07-29

    Technically: yes, it depends the GLOG library (https://github.com/google/glog) which gives you logging system and assertions, etc. (the same ones that are available in normal Chromium's //base)

  • easyloggingpp

    Single header C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.

  • palanteer

    Visual Python and C++ nanosecond profiler, logger, tests enabler

  • plog

    Portable, simple and extensible C++ logging library

    Project mention: Show timestamp before every output line in Qt Application Output. | reddit.com/r/QtFramework | 2022-09-22
  • loguru

    A lightweight C++ logging library (by emilk)

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • log4cplus

    log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API.

  • G3log

    G3log is an asynchronous, "crash safe", logger that is easy to use with default logging sinks or you can add your own. G3log is made with plain C++14 (C++11 support up to release 1.3.2) with no external libraries (except gtest used for unit tests). G3log is made to be cross-platform, currently running on OSX, Windows and several Linux distros. See Readme below for details of usage.

  • quill

    Asynchronous Low Latency C++ Logging Library (by odygrd)

  • clp

    Compressed Log Processor (CLP) is a free tool capable of compressing text logs and searching the compressed logs without decompression. (by y-scope)

    Project mention: FOSS, cloud native, log storage and query engine build with Apache Arrow & Parquet, written in Rust and React. | reddit.com/r/rust | 2022-10-01

    Thoughts on integrating CLP with this infra? Not sure whether this even makes sense to try? LINK

  • fmtlog

    fmtlog is a performant fmtlib-style logging library with latency in nanoseconds.

    Project mention: A new nanosecond clock for x86 Linux/Windows | reddit.com/r/cpp | 2022-06-26

    I see you are also the author of fmtlog. I haven't used this logging library, but my experience with logging real-time concurrent stuff is that often what I need more than "nanosecond accuracy", is the order concurrent things are happening.

  • reckless

    Reckless logging. Low-latency, high-throughput, asynchronous logging library for C++.

  • mini-async-log

    Non bloated asynchronous logger

  • Blackhole

    Yet another logging library. (by 3Hren)

  • binary_log

    Fast binary logger for C++

  • Boost.Log

    Boost Logging library (by boostorg)

  • lwlog

    Very fast synchronous C++17 logging library

  • loggedfs

    LoggedFS - Filesystem monitoring with Fuse

    Project mention: What are the linux-audit and strace equivalents of the loggedfs file system monitoring commands? | reddit.com/r/unix | 2022-05-11

    Loggedfs is a userspace tool for monitoring file system access in a directory and after trying I realized that it impacts performance too much even though it doesn't require root permissions.

  • RejsaRubberTrac

    RejsaRubberTrac - A wireless thermal camera for monitoring tire temperatures

    Project mention: Tyre temperature sensor marked on the Red Bull | reddit.com/r/F1Technical | 2022-06-10
  • qspdlog

    A simple Qt based widget for visualizing spdlog output.

    Project mention: Help needed in setting up the CI workflow of my repo | reddit.com/r/GithubActions | 2022-12-25

    Here is the link to the repository https://github.com/arsdever/qspdlog

  • uberlog

    Cross platform multi-process C++ logging system

  • Simple-Log

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-16.

C++ Logging related posts


What are some of the best open-source Logging projects in C++? This list will help you:

Project Stars
1 spdlog 16,800
2 POCO 6,725
3 glog 5,913
4 easyloggingpp 3,322
5 palanteer 1,951
6 plog 1,662
7 loguru 1,500
8 log4cplus 1,399
9 G3log 809
10 quill 699
11 clp 532
12 fmtlog 455
13 reckless 446
14 mini-async-log 216
15 Blackhole 191
16 binary_log 177
17 Boost.Log 157
18 lwlog 153
19 loggedfs 94
20 RejsaRubberTrac 74
21 qspdlog 20
22 uberlog 15
23 Simple-Log 13
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives