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

372  {
373  using namespace Details;
374  switch (logger().level()) {
375  case Logger::Debug: return 2; break;
376  case Logger::Info: return 1; break;
377  default: return 0;
378  }
379  }
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 362 of file PluginService.cpp.

362  {
363  using namespace Details;
364  Logger& l = logger();
365  if (debugLevel > 1)
366  l.setLevel(Logger::Debug);
367  else if (debugLevel > 0)
368  l.setLevel(Logger::Info);
369  else l.setLevel(Logger::Warning);
370  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
dictionary l
Definition: gaudirun.py:420