Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4INCL::Logger Namespace Reference

Functions

void initVerbosityLevelFromEnvvar ()
 
G4int getVerbosityLevel ()
 

Function Documentation

G4int G4INCL::Logger::getVerbosityLevel ( )

Definition at line 158 of file G4INCLLogger.cc.

158  {
159  return verbosityLevel;
160  }
void G4INCL::Logger::initVerbosityLevelFromEnvvar ( )

Definition at line 148 of file G4INCLLogger.cc.

148  {
149  const char * const envVar = getenv("G4INCL_DEBUG_VERBOSITY");
150  if(envVar) {
151  std::stringstream verbss(envVar);
152  verbss >> verbosityLevel;
153  } else {
154  verbosityLevel = 0;
155  }
156  }

Here is the caller graph for this function: