The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
Gaudi::PluginService::v1 Namespace Reference

Namespaces

namespace  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.
 
GAUDIPS_API int Debug ()
 Backward compatibility with Reflex.
 

Function Documentation

◆ Debug()

int Gaudi::PluginService::v1::Debug ( )

Backward compatibility with Reflex.

Definition at line 325 of file PluginServiceV1.cpp.

325 {
326 using namespace Details;
327 switch ( logger().level() ) {
328 case Logger::Debug:
329 return 2;
330 case Logger::Info:
331 return 1;
332 default:
333 return 0;
334 }
335 }

◆ SetDebug()

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

Backward compatibility with Reflex.

Definition at line 314 of file PluginServiceV1.cpp.

314 {
315 using namespace Details;
316 Logger& l = logger();
317 if ( debugLevel > 1 )
318 l.setLevel( Logger::Debug );
319 else if ( debugLevel > 0 )
320 l.setLevel( Logger::Info );
321 else
322 l.setLevel( Logger::Warning );
323 }