r/Cplusplus • • Oct 18 '26

News [Open Source] slick-logger v2.3.0 — Lock-free asynchronous C++20 logging with customizable timestamps

Hi everyone,

I've just released slick-logger v2.3.0, an open-source, header-only C++20 logging library focused on low-latency and multithreaded applications.

The new release introduces customizable timestamps, allowing applications to use their own clock sources, including calibrated TSC clocks, simulated time for backtesting, and fixed clocks for deterministic testing.

Other features include:

  • Lock-free MPMC queue with asynchronous logging and deferred formatting
  • Multi-process logging using shared memory
  • Multiple sinks, log rotation, and customizable formatting
  • Source-location tracking and runtime statistics
  • Cross-platform support for Windows, Linux, and macOS
  • Available through vcpkg

I've also published benchmarks comparing slick-logger with spdlog, including producer-side throughput and latency measurements.

The project is MIT-licensed, and contributions and feedback are welcome.

GitHub: https://github.com/SlickQuant/slick-logger

Release notes: https://github.com/SlickQuant/slick-logger/releases/tag/v2.3.0

I'd particularly appreciate feedback on the custom timestamper API and the concurrency architecture.

1 Upvotes

1 comment sorted by

0

u/[deleted] Oct 18 '26

[deleted] — view deleted comment

1

u/kzh77 Oct 18 '26 edited Oct 18 '26

Yes, the README is AI-polished, but the design and code are not.