The Gaudi Framework  master (f31105fd)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 330 of file PluginServiceV1.cpp.

330  {
331  using namespace Details;
332  switch ( logger().level() ) {
333  case Logger::Debug:
334  return 2;
335  case Logger::Info:
336  return 1;
337  default:
338  return 0;
339  }
340  }

◆ SetDebug()

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

Backward compatibility with Reflex.

Definition at line 319 of file PluginServiceV1.cpp.

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