IMP
2.3.1
The Integrative Modeling Platform
|
A class to change and restore log state. More...
#include <IMP/base/SetLogState.h>
A class to change and restore log state.
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.
Definition at line 31 of file SetLogState.h.
Public Member Functions | |
SetLogState (Object *o, LogLevel l) | |
SetLogState (LogLevel l) | |
Construct it with the desired level and target. More... | |
void | reset () |
void | set (Object *o, LogLevel l) |
void | set (LogLevel l) |
void | show (std::ostream &out=std::cout) const |
explicit constructor that sets the properties of SetLogState
Definition at line 43 of file SetLogState.h.
IMP::base::SetLogState::SetLogState | ( | LogLevel | l | ) |
Construct it with the desired level and target.
void IMP::base::SetLogState::reset | ( | ) |
resets the properties previously set for this class
Definition at line 43 of file SetLogState.h.
sets the properties of the class to new ones
Definition at line 43 of file SetLogState.h.