On Thu, 29 Apr 2021 at 17:19, Andrey Semashev via Std-Proposals <std-proposals@lists.isocpp.org> wrote:
Whether that call to another TU is logging or something else is
irrelevant. The important part is that your suggested way of detecting
the need for a stacktrace doesn't work in general.

Or rather, it doesn't work in one particular use case.