The Gaudi Framework  v36r1 (3e2fb5a8)
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

◆ Debug()

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

Definition at line 328 of file PluginServiceV2.cpp.

328  {
329  using namespace Details;
330  switch ( logger().level() ) {
331  case Logger::Debug:
332  return 2;
333  case Logger::Info:
334  return 1;
335  default:
336  return 0;
337  }
338  }

◆ SetDebug()

void Gaudi::PluginService::v2::SetDebug ( int  debugLevel)

Definition at line 317 of file PluginServiceV2.cpp.

317  {
318  using namespace Details;
319  Logger& l = logger();
320  if ( debugLevel > 1 )
321  l.setLevel( Logger::Debug );
322  else if ( debugLevel > 0 )
323  l.setLevel( Logger::Info );
324  else
325  l.setLevel( Logger::Warning );
326  }
gaudirun.level
level
Definition: gaudirun.py:346
Gaudi::PluginService::v2::Details::logger
Logger & logger()
Definition: PluginServiceV2.cpp:296
Gaudi::PluginService::v2::Debug
int Debug()
Definition: PluginServiceV2.cpp:328
gaudirun.l
dictionary l
Definition: gaudirun.py:553