SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C++ Logging Projects
-
Project mention: Show HN: Logfmtxx – Header only C++23 structured logging library using logfmt | news.ycombinator.com | 2024-04-03
Why a new lib instead of using or contributing to an existing one as spdlog?
https://github.com/gabime/spdlog
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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: Poco C++ Libraries: Build High-Performance Cross-Platform Apps for IoT and More | news.ycombinator.com | 2024-08-28 -
Alternatives are glog from Google is full-featured, like spdlog, while Plog offers a lightweight alternative. Both are worthy upgrades on using C++ built-in std::clog.
-
easyloggingpp
C++ logging library. It is powerful, supports asynchronous low latency, 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.
Easylogging++ https://github.com/abumq/easyloggingpp
-
NanoLog
Nanolog is an extremely performant nanosecond scale logging system for C++ that exposes a simple printf-like API.
Project mention: Nanolog supports logging with 7 ns median latency | news.ycombinator.com | 2024-08-23 -
Alternatives are glog from Google is full-featured, like spdlog, while Plog offers a lightweight alternative. Both are worthy upgrades on using C++ built-in std::clog.
-
-
-
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.
-
To dive deeper into Quill or contribute to the project, visit the GitHub repository or the Documentation page.
-
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.
-
clp
Compressed Log Processor (CLP) is a free log management tool capable of compressing logs and searching the compressed logs without decompression.
-
-
Project mention: C++ patterns for low-latency applications including high-frequency trading | news.ycombinator.com | 2024-07-08
I made a C++ logging library [1] that has many similarities to the LMAX disruptor. It appears to have found some use among the HFT community.
The original intent was to enable highly detailed logging without performance degradation for "post-mortem" debugging in production environments. I had coworkers who would refuse to include logging of certain important information for troubleshooting, because they were scared that it would impact performance. This put an end to that argument.
[1] https://github.com/mattiasflodin/reckless
-
-
areg-sdk
AREG is a cross-platform asynchronous Object RPC framework to simplify multitasking programming by blurring borders between processes and treating remote objects as if they coexist in the same thread.
-
-
-
-
-
-
C++ Logging discussion
C++ Logging related posts
-
Mix Assertion, Logging, Unit Testing and Fuzzing with ZeroErr Framework
-
Poco C++ Libraries: Build High-Performance Cross-Platform Apps for IoT and More
-
Nanolog supports logging with 7 ns median latency
-
C++ patterns for low-latency applications including high-frequency trading
-
Lnav Logfile Navigator
-
Quill Low Latency Logging Library C++17
-
Lnav: A log file viewer for the terminal
-
A note from our sponsor - SaaSHub
www.saashub.com | 6 Dec 2024
Index
What are some of the best open-source Logging projects in C++? This list will help you:
Project | Stars | |
---|---|---|
1 | spdlog | 24,599 |
2 | POCO | 8,477 |
3 | lnav | 8,071 |
4 | glog | 7,113 |
5 | easyloggingpp | 3,806 |
6 | NanoLog | 3,016 |
7 | plog | 2,230 |
8 | palanteer | 2,102 |
9 | loguru | 1,793 |
10 | log4cplus | 1,651 |
11 | quill | 1,579 |
12 | G3log | 910 |
13 | clp | 877 |
14 | fmtlog | 806 |
15 | reckless | 488 |
16 | UltimateStarterKit | 310 |
17 | areg-sdk | 282 |
18 | lwlog | 229 |
19 | mini-async-log | 220 |
20 | binary_log | 206 |
21 | Blackhole | 201 |
22 | Boost.Log | 182 |
23 | RejsaRubberTrac | 122 |