20 Oct
2024
20 Oct
'24
6:25 p.m.
On Sun, Oct 20, 2024, 20:13 Ivica Siladic via Boost
I just want logging to be a NOOP if the developer chooses not to enable it. This can be done quite easily with macros, for instance. However, our goal is to find a more elegant, C++-style solution that achieves the same effect.
Perhaps you could expose the no-op logging function as a weak symbol that the user can override.