The Gaudi Framework  v30r4 (9b837755)
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 359 of file PluginServiceV2.cpp.

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

Definition at line 347 of file PluginServiceV2.cpp.

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