The Gaudi Framework  v29r0 (ff2e7097)
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  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
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  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
dictionary l
Definition: gaudirun.py:440
GAUDIPS_API int Debug()
Backward compatibility with Reflex.