EasyException
|
This class suspends logging while it is alive. More...
#include <ee/SuspendLogging.hpp>
Public Member Functions | |
SuspendLogging () noexcept | |
Constructor. | |
virtual | ~SuspendLogging () noexcept |
Destructor. | |
This class suspends logging while it is alive.
It increments a counter on creation and decrements the counter on destruction. Logging will only run if the counter is zero.