For a lightweight logging library for C++, the strongest matches are amrayn/easyloggingpp (This is a comprehensive C++ logging framework that provides), abumq/easyloggingpp (This is a comprehensive C++ logging library that provides) and gabime/spdlog (This is a high-performance, header-only C++ logging library that). easylogging/easyloggingpp and armink/easylogger round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Selectăm repository-uri open-source de pe GitHub care se potrivesc cu „best c++ logging libraries”. Rezultatele sunt clasificate după relevanța față de căutarea ta — folosește filtrele de mai jos pentru a rafina rezultatele sau utilizează AI-ul.
Easyloggingpp is a C++ logging library and thread-safe logging framework used for recording diagnostic messages and application events. It functions as an asynchronous logger, processing messages on a background thread to reduce latency and prevent blocking the main execution path. The project includes a log rotation manager to automatically truncate or roll over files once they reach a specified disk size limit. It also serves as a performance tracking tool for measuring function execution timing and recording checkpoints to identify processing bottlenecks. The library covers a broad range
This is a comprehensive C++ logging framework that provides asynchronous logging, log rotation, and performance tracking, making it a strong candidate for professional software integration.
This project is a thread-safe, asynchronous logging library designed for C++ applications. It provides a comprehensive diagnostic toolkit that enables developers to record system events, track execution flow across multiple threads, and manage log output through severity-based filtering and automated file maintenance. By offloading log formatting and disk input/output to background worker threads, the library minimizes latency on the main execution path, ensuring high performance in time-critical systems. The framework distinguishes itself through its flexible configuration and diagnostic cap
This is a comprehensive C++ logging library that provides asynchronous processing, log rotation, and customizable sinks, making it a strong candidate for professional software integration.
spdlog is a high-performance C++ logging library designed to record diagnostic messages and application events. It serves as an asynchronous logging framework and thread-safe library that coordinates access across concurrent threads to maintain message integrity. The project functions as a multi-target log router, distributing single events to multiple destinations such as consoles, files, and system daemons. It includes a log rotation manager that handles file lifecycles through basic, rotating, or daily rollover strategies to prevent disk exhaustion. The library covers a broad range of cap
This is a high-performance, header-only C++ logging library that provides asynchronous logging, structured formatting, and robust log rotation, making it a comprehensive solution for professional software projects.
Easyloggingpp is a header-only C++ logging framework and diagnostic tool designed for recording system events and diagnostic messages. It functions as a thread-safe logging library that synchronizes access across multiple concurrent execution threads to prevent data corruption during event recording. The framework features an asynchronous logger that processes messages on a background thread to minimize latency and prevent blocking the main application. It also acts as a log dispatcher, capable of routing data to local files, system syslog facilities, or remote network destinations for system
This is a header-only C++ logging library that provides asynchronous logging, log rotation, and customizable sinks, making it a well-rounded choice for professional software integration.
EasyLogger is a lightweight C/C++ logging library and asynchronous framework designed for embedded systems, IoT devices, and wearables. It functions as a resource-efficient logger and flash memory manager, providing tools for low-level debugging and system event recording with minimal ROM and RAM requirements. The project distinguishes itself through an asynchronous logging model that buffers messages to a separate thread, preventing logging operations from blocking real-time application execution. It includes a specialized flash memory manager that utilizes circular buffering to persist logs
EasyLogger is a lightweight, asynchronous logging library designed for resource-constrained environments that provides essential features like log rotation and non-blocking output, making it a suitable choice for performance-sensitive C++ projects.
Boost Logging library
Boost.Log is a comprehensive, high-performance C++ logging framework that provides advanced features like asynchronous logging, structured output, and extensive sink customization, making it a standard choice for professional software development.
glog is a C++ logging framework designed for recording application events and system diagnostics. It provides a stream-based interface for capturing debugging information and managing system event persistence. The library includes a stack trace logger that captures execution call stacks and resolves memory addresses into readable function names. It also features a dedicated error handling module to manage system shutdown and reporting during fatal failures. Log lifecycle management is handled through automatic rotation and deletion of old files to prevent disk space exhaustion. The framework
This is a mature C++ logging framework that provides essential features like log rotation, sink management, and diagnostic reporting, though it lacks native support for structured logging and asynchronous operations.
Portable, simple and extensible C++ logging library
This is a lightweight, header-only C++ logging library that provides essential features like log rotation and customizable sinks, making it a solid choice for professional projects despite its focus on simplicity over complex asynchronous features.
A lightweight C++ logging library
Loguru is a lightweight, header-only C++ logging library that provides essential features like log rotation and customizable sinks, making it a solid choice for professional projects requiring efficient, easy-to-integrate logging.
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.
This is a mature, thread-safe C++ logging framework that provides the granular control and flexible configuration required for professional software, though it lacks the modern header-only design found in some newer alternatives.
| Repository | Stele | Limbaj | Licență | Ultimul push |
|---|---|---|---|---|
| amrayn/easyloggingpp | 3.9K | C++ | MIT | |
| abumq/easyloggingpp | 3.9K | C++ | MIT | |
| gabime/spdlog | 28.9K | C++ | NOASSERTION | |
| easylogging/easyloggingpp | 3.9K | C++ | MIT | |
| armink/easylogger | 4.6K | C | MIT | |
| boostorg/log | 206 | C++ | — | |
| google/glog | 7.4K | C++ | BSD-3-Clause | |
| sergiusthebest/plog | 2.5K | C++ | MIT | |
| emilk/loguru | 1.9K | C++ | Unlicense | |
| log4cplus/log4cplus | 1.7K | C++ | NOASSERTION |