C++ Logging

Open-source C++ projects categorized as Logging | Edit details

Top 23 C++ Logging Projects

  • GitHub repo spdlog

    Fast C++ logging library.

    Project mention: Faster way to obtain accurate timestamp with milliseconds? | reddit.com/r/cpp_questions | 2022-01-12

    Also, maybe just consider using one of the MANY already existing PROFESSIONAL and totally FREE logging libraries, like https://github.com/gabime/spdlog

  • GitHub repo 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: Higher level threading in C++ | dev.to | 2021-04-29

    This is why I generally prefer Threadpools, or a producer-consumer pattern. Both these patterns require a queue that contains the jobs or units of work. Worker threads will continually try to read items from such a queue and process the item. There are some libraries that offer threadsafe queue's and/or threadpools, such as poco, QT or boost, but it's actually fairly simple to implement your own, using only the STL. So let's implement one now!

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo glog

    C++ implementation of the Google logging module

    Project mention: New to photogrammetry, getting started? | reddit.com/r/photogrammetry | 2021-04-12

    git clone https://github.com/google/glog.git

  • GitHub repo 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.

  • GitHub repo palanteer

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

    Project mention: Palanteer v0.5 is out! Live visual Python profiling with support of multiprocess | reddit.com/r/Python | 2021-11-23

    GitHub: https://github.com/dfeneyrou/palanteer

  • GitHub repo plog

    Portable, simple and extensible C++ logging library

  • GitHub repo loguru

    A lightweight C++ logging library (by emilk)

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo 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.

  • GitHub repo 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.

  • GitHub repo quill

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

  • GitHub repo reckless

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

  • GitHub repo fmtlog

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

    Project mention: Fmtlog: New fmtlib style logging library with lowest latency | news.ycombinator.com | 2021-07-03
  • GitHub repo mini-async-log

    Non bloated asynchronous logger

  • GitHub repo Blackhole

    Yet another logging library. (by 3Hren)

  • GitHub repo binary_log

    Fast binary logger for C++

    Project mention: binary_log: Writing hundreds of millions of logs per second (1-1.5 Gbps) with an average latency of 2-7 ns | reddit.com/r/programming | 2021-12-07
  • GitHub repo Boost.Log

    Boost Logging library (by boostorg)

  • GitHub repo lwlog

    Very fast synchronous C++17 logging library

    Project mention: Very fast synchronous C++17 logging library | reddit.com/r/programming | 2021-12-24
  • GitHub repo shournal

    A (file-) journal for your shell

    Project mention: shell file-tracking and super-history with shournal - now with zsh-support | reddit.com/r/commandline | 2021-11-05

    Check it out on github

  • GitHub repo loggedfs

    LoggedFS - Filesystem monitoring with Fuse

    Project mention: Git ls-files is Faster Than Fd and Find | news.ycombinator.com | 2021-11-21

    I'm absolutely not an expert, but I feel like log-structured filesystems (https://en.wikipedia.org/wiki/Log-structured_file_system) are a natural fit for this kind of things: an index "just" has to read the latest written entries.

    But if we're talking about the future, we're probably talking about btrfs and zfs, both of which have the internal machinery to give you a feed of "recently changed files" up to the beginning of the filesystem.

    While writing this answer I stumbled upon https://github.com/rflament/loggedfs which is probably a very nice solution to this problem.

  • GitHub repo Simple-Log

    Project mention: [C++20] Simple-Log - multithreaded logging library | reddit.com/r/cpp | 2021-02-23

    - The examples are at https://github.com/DNKpp/Simple-Log/tree/master/src/examples . I already thought of putting them into the root directory, probably will do that in the near future.

  • GitHub repo uberlog

    Cross platform multi-process C++ logging system

  • GitHub repo clutchlog

    C++ logging system which targets versatile, (de)clutchable, _debugging_ instead of service event storage, in a single header.

    Project mention: Clutchlog: a C++ logging library that targets versatile, (de)clutchable, debugging instead of the usual service event storage — in a single header. | reddit.com/r/cpp | 2022-01-04
  • GitHub repo xtr

    A Fast and Convenient C++ Logging Library for Low-latency or Real-time Environments

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 2022-01-12.

C++ Logging related posts

Index

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

Project Stars
1 spdlog 13,552
2 POCO 5,803
3 glog 5,030
4 easyloggingpp 3,042
5 palanteer 1,770
6 plog 1,277
7 loguru 1,273
8 log4cplus 1,227
9 G3log 730
10 quill 551
11 reckless 406
12 fmtlog 261
13 mini-async-log 214
14 Blackhole 181
15 binary_log 147
16 Boost.Log 141
17 lwlog 131
18 shournal 87
19 loggedfs 69
20 Simple-Log 14
21 uberlog 11
22 clutchlog 8
23 xtr 6
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com