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 352 of file PluginService.cpp.

352  {
353  using namespace Details;
354  switch (logger().level()) {
355  case Logger::Debug: return 2;
356  case Logger::Info: return 1;
357  default: return 0;
358  }
359  }
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 342 of file PluginService.cpp.

342  {
343  using namespace Details;
344  Logger& l = logger();
345  if (debugLevel > 1)
346  l.setLevel(Logger::Debug);
347  else if (debugLevel > 0)
348  l.setLevel(Logger::Info);
349  else l.setLevel(Logger::Warning);
350  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
dictionary l
Definition: gaudirun.py:421