The Gaudi Framework  v30r3 (a5ef0a68)
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

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

Backward compatibility with Reflex.

Definition at line 364 of file PluginServiceV1.cpp.

365  {
366  using namespace Details;
367  switch ( logger().level() ) {
368  case Logger::Debug:
369  return 2;
370  case Logger::Info:
371  return 1;
372  default:
373  return 0;
374  }
375  }
GAUDIPS_API Logger & logger()
Return the current logger instance.
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
void Gaudi::PluginService::v1::SetDebug ( int  debugLevel)

Backward compatibility with Reflex.

Definition at line 352 of file PluginServiceV1.cpp.

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