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

int Gaudi::PluginService::Debug ( )

Backward compatibility with Reflex.

Definition at line 359 of file PluginService.cpp.

359  {
360  using namespace Details;
361  switch (logger().level()) {
362  case Logger::Debug: return 2;
363  case Logger::Info: return 1;
364  default: return 0;
365  }
366  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
void Gaudi::PluginService::SetDebug ( int  debugLevel)

Backward compatibility with Reflex.

Definition at line 349 of file PluginService.cpp.

349  {
350  using namespace Details;
351  Logger& l = logger();
352  if (debugLevel > 1)
353  l.setLevel(Logger::Debug);
354  else if (debugLevel > 0)
355  l.setLevel(Logger::Info);
356  else l.setLevel(Logger::Warning);
357  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
dictionary l
Definition: gaudirun.py:421
GAUDIPS_API int Debug()
Backward compatibility with Reflex.