A list of paid, free or open source C++ (C plus plus) error and event logging libraries, plugins and tools for logging events, errors and activity in C++ applications and more. Sourced under a creative commons. This list will be updated regularly. Email over the URL, if you wish to be included.

C++ logging libraries, plugins and tools

  • Blackhole – Attribute-based logging framework, which is designed to be fast, modular and highly customizable. [MIT]
  • Boost.Log – Designed to be very modular and extensible. [Boost] website
  • Easylogging++ – Extremely light-weight high performance logging library for C++11 (or higher) applications. [MIT]
  • fmtlog – A performant fmtlib-style logging library with latency in nanoseconds. [MIT]
  • G3log – Asynchronous logger with Dynamic Sinks. [PublicDomain]
  • glog – C++ implementation of the Google logging module.
  • haclog – An extremely fast plain C logging library. [MIT]
  • Log4cpp – A library of C++ classes for flexible logging to files, syslog, IDSA and other destinations. [LGPL]
  • log4cplus – A simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. [BSD & Apache2]
  • loguru – A lightweight C++ logging library. [PublicDomain]
  • plog – Portable and simple log for C++ in less than 1000 lines of code. [MPL2]
  • reckless – Low-latency, high-throughput, asynchronous logging library for C++. [MIT]
  • spdlog – Super fast, header only, C++ logging library.
  • templog – A very small and lightweight C++ library which you can use to add logging to your C++ applications. [Boost]
  • P7Baical – An open source and cross-platform library for high-speed sending telemetry & trace data with minimal usage of CPU and memory. [LGPL]
  • Quill – Asynchronous cross platform low latency logging library. [MIT]

Tags: c++, open source, c plus plus, c++ tools, c++ plugins, c++ libraries, c plus plus tools, c plus plus plugins, c plus plus libraries, event logging, error logging, activity logging, asynchronous logger, api logger, c++ event logging, c++ error logging, c++ activity logging, c++ asynchronous logger, c++ api logger

Image: Unsplash License.

Portions of this text under: MIT license