The Gaudi Framework  v30r3 (a5ef0a68)
Gaudi::PluginService::v2 Namespace Reference

Namespaces

 Details
 

Classes

struct  DeclareFactory
 Helper to declare the factory implementation for a user defined type T. More...
 
struct  Factory< R(Args...)>
 Class wrapping the signature for a factory with any number of arguments. More...
 

Functions

void SetDebug (int debugLevel)
 
int Debug ()
 

Function Documentation

int Gaudi::PluginService::v2::Debug ( )

Definition at line 358 of file PluginServiceV2.cpp.

359  {
360  using namespace Details;
361  switch ( logger().level() ) {
362  case Logger::Debug:
363  return 2;
364  case Logger::Info:
365  return 1;
366  default:
367  return 0;
368  }
369  }
void Gaudi::PluginService::v2::SetDebug ( int  debugLevel)

Definition at line 346 of file PluginServiceV2.cpp.

347  {
348  using namespace Details;
349  Logger& l = logger();
350  if ( debugLevel > 1 )
351  l.setLevel( Logger::Debug );
352  else if ( debugLevel > 0 )
353  l.setLevel( Logger::Info );
354  else
355  l.setLevel( Logger::Warning );
356  }
dictionary l
Definition: gaudirun.py:440