To use, create an instance of this class with the log level you want. When it goes out of scope, it will restore the old level.
Public Member Functions | |
void | reset () |
void | set (LogLevel l) |
void | set (Object *o, LogLevel l) |
SetLogState (LogLevel l) | |
Construct it with the desired level and target. | |
SetLogState (Object *o, LogLevel l) |