#include <slogcxx.h>
Public Member Functions | |
LogState (Slog *logInstance, const std::string &scope, int msgLvl=-1) | |
std::string | pop () |
LogState (Slog *logInstance, const std::string &scope, int msgLvl=-1) | |
Create a log instance with a given scope name and optional msg level. | |
std::string | pop () |
Request pop. Only pop if !popped. | |
~LogState () | |
Make sure that the scope has been popped. | |
Private Attributes | |
Slog * | log |
bool | popped |
Cache early pop request. | |
Slog * | log |
Handle for the associated log to allow popping. |
FIX: write an example of how this is done
|
Create a log instance with a given scope name and optional msg level. Do not delete the log until after this state has cleared! |
|
Request pop. Only pop if !popped.
|