Skip to content

Make all logging functions noexcept

Problem

As shown by SonarCloud (link), the fact that some of the LogContext.hpp and Logger.hpp functions can throw exceptions prevents them from being safely used inside destructors.

Proposed solution

Make all logging functions (and related classes member functions) noexcept, so that they can be used safely everywhere in the code.