Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (f31105fd)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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

◆ Debug()

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

Definition at line 364 of file PluginServiceV2.cpp.

364  {
365  using namespace Details;
366  switch ( logger().level() ) {
367  case Logger::Debug:
368  return 2;
369  case Logger::Info:
370  return 1;
371  default:
372  return 0;
373  }
374  }

◆ SetDebug()

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

Definition at line 353 of file PluginServiceV2.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  }
gaudirun.level
level
Definition: gaudirun.py:364
Gaudi::PluginService::v2::Details::logger
Logger & logger()
Definition: PluginServiceV2.cpp:332
Gaudi::PluginService::v2::Debug
int Debug()
Definition: PluginServiceV2.cpp:364
gaudirun.l
dictionary l
Definition: gaudirun.py:583