$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Janko Dedic (jankodedic2_at_[hidden])
Date: 2024-10-20 18:25:10
On Sun, Oct 20, 2024, 20:13 Ivica Siladic via Boost <boost_at_[hidden]>
wrote:
> 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.
>