The Gaudi Framework  v31r0 (aeb156f0)
Gaudi::PluginService::v1 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::v1::Debug ( )

Backward compatibility with Reflex.

Definition at line 340 of file PluginServiceV1.cpp.

340  {
341  using namespace Details;
342  switch ( logger().level() ) {
343  case Logger::Debug:
344  return 2;
345  case Logger::Info:
346  return 1;
347  default:
348  return 0;
349  }
350  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
void Gaudi::PluginService::v1::SetDebug ( int  debugLevel)

Backward compatibility with Reflex.

Definition at line 329 of file PluginServiceV1.cpp.

329  {
330  using namespace Details;
331  Logger& l = logger();
332  if ( debugLevel > 1 )
333  l.setLevel( Logger::Debug );
334  else if ( debugLevel > 0 )
335  l.setLevel( Logger::Info );
336  else
337  l.setLevel( Logger::Warning );
338  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
dictionary l
Definition: gaudirun.py:517
GAUDIPS_API int Debug()
Backward compatibility with Reflex.