| The Gaudi Framework v32r1 (f65d50dc)

Namespaces | Classes | Functions
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 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 }
Gaudi::PluginService::v2::Details::logger
Logger & logger()
Definition: PluginServiceV2.cpp:302
gaudirun.level
level
Definition: gaudirun.py:334
Gaudi::PluginService::v2::Debug
int Debug()
Definition: PluginServiceV2.cpp:334

## ◆ SetDebug()

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 }
gaudirun.l
dictionary l
Definition: gaudirun.py:521
Gaudi::PluginService::v2::Details::logger
Logger & logger()
Definition: PluginServiceV2.cpp:302
Gaudi::PluginService::v2::Debug
int Debug()
Definition: PluginServiceV2.cpp:334