EasyException
ee::SuspendLogging Class Reference

This class suspends logging while it is alive. More...

#include <ee/SuspendLogging.hpp>

Public Member Functions

 SuspendLogging () noexcept
 Constructor.
 
virtual ~SuspendLogging () noexcept
 Destructor.
 

Detailed Description

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.


The documentation for this class was generated from the following file: