The Gaudi Framework  v31r0 (aeb156f0)
Gaudi::PluginService::v2 Namespace Reference

Namespaces

 Details
 

Classes

struct  DeclareFactory
 Helper to declare the factory implementation for a user defined type T. More...
 
struct  Factory< R(Args...)>
 Class wrapping the signature for a factory with any number of arguments. More...
 

Functions

void SetDebug (int debugLevel)
 
int Debug ()
 

Function Documentation

int Gaudi::PluginService::v2::Debug ( )

Definition at line 334 of file PluginServiceV2.cpp.

334  {
335  using namespace Details;
336  switch ( logger().level() ) {
337  case Logger::Debug:
338  return 2;
339  case Logger::Info:
340  return 1;
341  default:
342  return 0;
343  }
344  }
void Gaudi::PluginService::v2::SetDebug ( int  debugLevel)

Definition at line 323 of file PluginServiceV2.cpp.

323  {
324  using namespace Details;
325  Logger& l = logger();
326  if ( debugLevel > 1 )
327  l.setLevel( Logger::Debug );
328  else if ( debugLevel > 0 )
329  l.setLevel( Logger::Info );
330  else
331  l.setLevel( Logger::Warning );
332  }
dictionary l
Definition: gaudirun.py:517