| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Namespace List
- Namespace Members

Namespaces | Classes | Functions
Gaudi::PluginService 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

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

Backward compatibility with Reflex.

Definition at line 362 of file PluginService.cpp.

363 {
364 using namespace Details;
365 switch ( logger().level() ) {
366 case Logger::Debug:
367 return 2;
368 case Logger::Info:
369 return 1;
370 default:
371 return 0;
372 }
373 }
Gaudi::PluginService::Details::logger
GAUDIPS_API Logger & logger()
Return the current logger instance.
Definition: PluginService.cpp:345
gaudirun.level
level
Definition: gaudirun.py:271
Gaudi::PluginService::Debug
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
Definition: PluginService.cpp:362

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

Backward compatibility with Reflex.

Definition at line 350 of file PluginService.cpp.

351 {
352 using namespace Details;
353 Logger& l = logger();
354 if ( debugLevel > 1 )
355 l.setLevel( Logger::Debug );
356 else if ( debugLevel > 0 )
357 l.setLevel( Logger::Info );
358 else
359 l.setLevel( Logger::Warning );
360 }
Gaudi::PluginService::Details::logger
GAUDIPS_API Logger & logger()
Return the current logger instance.
Definition: PluginService.cpp:345
gaudirun.l
dictionary l
Definition: gaudirun.py:440
Gaudi::PluginService::Debug
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
Definition: PluginService.cpp:362