The Gaudi Framework  v30r0 (c919700c)
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 356 of file PluginService.cpp.

357  {
358  using namespace Details;
359  switch ( logger().level() ) {
360  case Logger::Debug:
361  return 2;
362  case Logger::Info:
363  return 1;
364  default:
365  return 0;
366  }
367  }
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 344 of file PluginService.cpp.

345  {
346  using namespace Details;
347  Logger& l = logger();
348  if ( debugLevel > 1 )
349  l.setLevel( Logger::Debug );
350  else if ( debugLevel > 0 )
351  l.setLevel( Logger::Info );
352  else
353  l.setLevel( Logger::Warning );
354  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
dictionary l
Definition: gaudirun.py:440
GAUDIPS_API int Debug()
Backward compatibility with Reflex.