by::enablesZone Class Reference

Temporary scope-based enable/disable zone for logging streams. More...

#include <enablesZone.hpp>

Public Member Functions

 enablesZone (nbool newVal)
 
const enables & getPrev () const
 
me & setPrev ()
 
me & rel ()
 
me & setEnable (nbool newVal)
 
me & setEnable (const std::string &streamName, nbool newVal)
 

Detailed Description

Temporary scope-based enable/disable zone for logging streams.

Provides RAII-style temporary modification of logging stream states. Automatically restores previous states when the zone goes out of scope.


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