All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 369 of file PluginService.cpp.

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

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