| The Gaudi Framework v32r1 (f65d50dc)

Namespaces | Classes | Functions
Gaudi::PluginService::v1 Namespace Reference

## Namespaces
| Details

## Classes
class | Exception
class | Factory
| Class wrapping the signature for a factory with any number of arguments. More...

## Functions
GAUDIPS_API void | SetDebug (int debugLevel)
| Backward compatibility with Reflex. More...
GAUDIPS_API int | Debug ()
| Backward compatibility with Reflex. More...

## Function Documentation

## ◆ Debug()

int Gaudi::PluginService::v1::Debug | ( |  | ) |

Backward compatibility with Reflex.

Definition at line 340 of file PluginServiceV1.cpp.

340 {
341 using namespace Details;
342 switch ( logger().level() ) {
343 case Logger::Debug:
344 return 2;
345 case Logger::Info:
346 return 1;
347 default:
348 return 0;
349 }
350 }
Gaudi::PluginService::v1::Details::logger
GAUDIPS_API Logger & logger()
Return the current logger instance.
Definition: PluginServiceV1.cpp:324
Gaudi::PluginService::v1::Debug
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
Definition: PluginServiceV1.cpp:340
gaudirun.level
level
Definition: gaudirun.py:334

## ◆ SetDebug()

void Gaudi::PluginService::v1::SetDebug | ( | int | debugLevel | ) |

Backward compatibility with Reflex.

Definition at line 329 of file PluginServiceV1.cpp.

329 {
330 using namespace Details;
331 Logger& l = logger();
332 if ( debugLevel > 1 )
333 l.setLevel( Logger::Debug );
334 else if ( debugLevel > 0 )
335 l.setLevel( Logger::Info );
336 else
337 l.setLevel( Logger::Warning );
338 }
Gaudi::PluginService::v1::Details::logger
GAUDIPS_API Logger & logger()
Return the current logger instance.
Definition: PluginServiceV1.cpp:324
gaudirun.l
dictionary l
Definition: gaudirun.py:521
Gaudi::PluginService::v1::Debug
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
Definition: PluginServiceV1.cpp:340