The Gaudi Framework  master (594c33fa)
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 334 of file PluginServiceV1.cpp.

334  {
335  using namespace Details;
336  switch ( logger().level() ) {
337  case Logger::Debug:
338  return 2;
339  case Logger::Info:
340  return 1;
341  default:
342  return 0;
343  }
344  }

◆ SetDebug()

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

Backward compatibility with Reflex.

Definition at line 323 of file PluginServiceV1.cpp.

323  {
324  using namespace Details;
325  Logger& l = logger();
326  if ( debugLevel > 1 )
327  l.setLevel( Logger::Debug );
328  else if ( debugLevel > 0 )
329  l.setLevel( Logger::Info );
330  else
331  l.setLevel( Logger::Warning );
332  }
gaudirun.level
level
Definition: gaudirun.py:364
Gaudi::PluginService::v1::Details::logger
GAUDIPS_API Logger & logger()
Return the current logger instance.
Definition: PluginServiceV1.cpp:318
gaudirun.l
dictionary l
Definition: gaudirun.py:581
Gaudi::PluginService::v1::Debug
GAUDIPS_API int Debug()
Backward compatibility with Reflex.
Definition: PluginServiceV1.cpp:334