Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4INCL::Logger Namespace Reference

Functions

void initVerbosityLevelFromEnvvar ()
 
G4int getVerbosityLevel ()
 

Function Documentation

◆ getVerbosityLevel()

G4int G4INCL::Logger::getVerbosityLevel ( )

Definition at line 158 of file G4INCLLogger.cc.

158 {
159 return verbosityLevel;
160 }

◆ initVerbosityLevelFromEnvvar()

void G4INCL::Logger::initVerbosityLevelFromEnvvar ( )

Definition at line 148 of file G4INCLLogger.cc.

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

Referenced by G4INCL::INCL::INCL().