The Gaudi Framework  v36r10 (fc05264c)
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 339 of file PluginServiceV2.cpp.

339  {
340  using namespace Details;
341  switch ( logger().level() ) {
342  case Logger::Debug:
343  return 2;
344  case Logger::Info:
345  return 1;
346  default:
347  return 0;
348  }
349  }

◆ SetDebug()

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

Definition at line 328 of file PluginServiceV2.cpp.

328  {
329  using namespace Details;
330  Logger& l = logger();
331  if ( debugLevel > 1 )
332  l.setLevel( Logger::Debug );
333  else if ( debugLevel > 0 )
334  l.setLevel( Logger::Info );
335  else
336  l.setLevel( Logger::Warning );
337  }
gaudirun.level
level
Definition: gaudirun.py:364
Gaudi::PluginService::v2::Details::logger
Logger & logger()
Definition: PluginServiceV2.cpp:307
Gaudi::PluginService::v2::Debug
int Debug()
Definition: PluginServiceV2.cpp:339
gaudirun.l
dictionary l
Definition: gaudirun.py:580