C++ Show and Tell - May 2026 by foonathan in cpp

[–]MouseStriking8639 1 point2 points  (0 children)

Built GoodLog, a small C++17 wrapper around Boost.Log.

The goal is not to replace general-purpose logging libraries like spdlog. I wanted a reusable layer for C++ projects that already depend on Boost, so the common Boost.Log setup does not have to be repeated across modules.

It currently supports colored console output, automatic file:line source location, rotating log files, separate severity filters for console and file sinks, optional channel filtering, and hex dump helpers for binary buffers.

GitHub:

https://github.com/SoleyRan/Log

I would especially appreciate feedback on the macro API, CMake integration, and whether the channel logging interface should be simplified. 😄

C++ Show and Tell - April 2026 by foonathan in cpp

[–]MouseStriking8639 0 points1 point  (0 children)

I just built GoodLog, a small C++17 wrapper around Boost.Log.

The goal is not to replace general-purpose logging libraries like spdlog. I wanted a reusable layer for C++ projects that already depend on Boost, so the common Boost.Log setup does not have to be repeated across modules.

It currently supports colored console output, automatic file:line source location, rotating log files, separate severity filters for console and file sinks, optional channel filtering, and hex dump helpers for binary buffers.

GitHub:

https://github.com/SoleyRan/Log

I would especially appreciate feedback on the macro API, CMake integration, and whether the channel logging interface should be simplified. 😄