8 typedef std::map<std::string, nbool> enables;
53 const enables& getPrev()
const;
78 me&
setEnable(
const std::string& streamName, nbool newVal);
Temporary scope-based enable/disable zone for logging streams.
Definition enablesZone.hpp:39
enablesZone(nbool newVal)
Constructs an enablesZone and immediately sets all logging streams to the specified enable state,...
me & setEnable(const std::string &streamName, nbool newVal)
Sets the enable state for a specific named stream.
me & setPrev()
Captures the current enable states of all streams as the new "previous" state. This state will be res...
me & setEnable(nbool newVal)
Sets the enable state for all streams managed by the logger.
me & rel()
Manually releases the enablesZone, preventing restoration of stream states on destruction.