Gaudi::PluginService Namespace Reference

Namespaces

 Details
 

Classes

class  Exception
 
class  Factory
 Class wrapping the signature for a factory with any number of arguments. More...
 

Functions

GAUDIPS_API void SetDebug (int debugLevel)
 Backward compatibility with Reflex. More...
 
GAUDIPS_API int Debug ()
 Backward compatibility with Reflex. More...
 

Function Documentation

GAUDIPS_API int Gaudi::PluginService::Debug ( )

Backward compatibility with Reflex.

Definition at line 327 of file PluginService.cpp.

327  {
328  using namespace Details;
329  switch (logger().level()) {
330  case Logger::Debug: return 2;
331  case Logger::Info: return 1;
332  default: return 0;
333  }
334  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
GAUDIPS_API void Gaudi::PluginService::SetDebug ( int  debugLevel)

Backward compatibility with Reflex.

Definition at line 317 of file PluginService.cpp.

317  {
318  using namespace Details;
319  Logger& l = logger();
320  if (debugLevel > 1)
321  l.setLevel(Logger::Debug);
322  else if (debugLevel > 0)
323  l.setLevel(Logger::Info);
324  else l.setLevel(Logger::Warning);
325  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
dictionary l
Definition: gaudirun.py:422