 |
Belle II Software
release-05-01-25
|
14 #ifndef TRGDebug_FLAG_
15 #define TRGDebug_FLAG_
32 static int level(
void);
35 static int level(
int newLevel,
bool thisStageOnly =
false);
38 static void enterStage(
const std::string& stageName);
41 static void leaveStage(
const std::string& stageName);
44 static std::string
tab(
void);
47 static std::string
tab(
int extra);
static int level(void)
returns the debug level.
Abstract base class for different kinds of events.
static int _level
Debug level. 0:do nothing, 1:show you flow, 2:show you detail, 10:show you very detail.
static std::vector< std::string > _stages
Storage for stages.
static std::string tab(void)
returns tab spaces.
static void leaveStage(const std::string &stageName)
Declare that you leave a stage.
static void enterStage(const std::string &stageName)
Declare that you enter new stage.