NanoLog is an extremely performant nanosecond-scale logging system for C++ that can achieve over 80 million logs per second at a median latency of just over 7 nanoseconds. It achieves this by extracting static log information at compile-time, logging dynamic components during runtime, and deferring formatting to an offline process. NanoLog is available in two versions: a Preprocessor version and a C++17 version, each with its own integration method. The C++17 version is recommended for ease of use. The generated logs are in a binary format and must be decompressed to be human-readable.
Table of contents
PerformancePrerequisitesNanoLog PipelineCompiling NanoLogSample ApplicationsNanoLog APIPost-Execution Log DecompressorUnit Tests1 Comment
Sort: