The Gaudi Framework  v36r9p1 (5c15b2bb)
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 335 of file PluginServiceV2.cpp.

335  {
336  using namespace Details;
337  switch ( logger().level() ) {
338  case Logger::Debug:
339  return 2;
340  case Logger::Info:
341  return 1;
342  default:
343  return 0;
344  }
345  }

◆ SetDebug()

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

Definition at line 324 of file PluginServiceV2.cpp.

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