Top 23 C++ Logging Projects
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
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!
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.
C++ implementation of the Google logging moduleProject mention: New to photogrammetry, getting started? | reddit.com/r/photogrammetry | 2021-04-12
git clone https://github.com/google/glog.git
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.
Visual Python and C++ nanosecond profiler, logger, tests enablerProject mention: Palanteer v0.5 is out! Live visual Python profiling with support of multiprocess | reddit.com/r/Python | 2021-11-23
Portable, simple and extensible C++ logging library
A lightweight C++ logging library (by emilk)
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.
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 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.
Asynchronous Low Latency C++ Logging Library (by odygrd)
Reckless logging. Low-latency, high-throughput, asynchronous logging library for C++.
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
Non bloated asynchronous logger
Yet another logging library. (by 3Hren)
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
Boost Logging library (by boostorg)
Very fast synchronous C++17 logging libraryProject mention: Very fast synchronous C++17 logging library | reddit.com/r/programming | 2021-12-24
A (file-) journal for your shellProject 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
LoggedFS - Filesystem monitoring with FuseProject 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.
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.
Cross platform multi-process C++ logging system
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
A Fast and Convenient C++ Logging Library for Low-latency or Real-time Environments
C++ Logging related posts
Faster way to obtain accurate timestamp with milliseconds?
1 project | reddit.com/r/cpp_questions | 12 Jan 2022
Ls and Ws – Practice Makes Progress with Iheanyi Ekechukwu
3 projects | dev.to | 5 Jan 2022
Very fast synchronous C++17 logging library
1 project | reddit.com/r/programming | 24 Dec 2021
C++ logging library
1 project | reddit.com/r/coolgithubprojects | 24 Dec 2021
Log4Shell Update: Full bypass found in log4j 2.15.0, enabling RCE again (CVSS score 3.7 -> 9.0)
1 project | reddit.com/r/programming | 17 Dec 2021
shell file-tracking and super-history with shournal - now with zsh-support
1 project | reddit.com/r/commandline | 5 Nov 2021
An Epic, Excellent, Eclectic Episode with Kiran Oliver
9 projects | dev.to | 29 Sep 2021
What are some of the best open-source Logging projects in C++? This list will help you:
Are you hiring? Post a new remote job listing for free.