GoodLog: a small C++17 wrapper around Boost.Log for colored output, rotation and hex dumps
Hi r/cpp,
I 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
\- hex dump helpers for binary buffers
\- CMake demo and GoogleTest entry points
GitHub:
https://github.com/SoleyRan/Log
The project is still early, and I would especially appreciate feedback on the macro API, CMake integration, and whether the channel logging interface should be simplified.
https://redd.it/1t2pmyu
@r_cpp
Post #25120
18