All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Gaudi::PluginService Namespace Reference

Namespaces

namespace  Details
 

Classes

class  Factory
 Class wrapping the signature for a factory with any number of arguments. More...
 
class  Exception
 

Functions

GAUDIPS_API void SetDebug (int debugLevel)
 Backward compatibility with Reflex.
 
GAUDIPS_API int Debug ()
 Backward compatibility with Reflex.
 

Function Documentation

GAUDIPS_API int Gaudi::PluginService::Debug ( )

Backward compatibility with Reflex.

Definition at line 372 of file PluginService.cpp.

{
using namespace Details;
switch (logger().level()) {
case Logger::Debug: return 2; break;
case Logger::Info: return 1; break;
default: return 0;
}
}
GAUDIPS_API void Gaudi::PluginService::SetDebug ( int  debugLevel)

Backward compatibility with Reflex.

Definition at line 362 of file PluginService.cpp.

{
using namespace Details;
Logger& l = logger();
if (debugLevel > 1)
l.setLevel(Logger::Debug);
else if (debugLevel > 0)
l.setLevel(Logger::Info);
else l.setLevel(Logger::Warning);
}