The Gaudi Framework  master (e98cfcff)
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 333 of file PluginServiceV1.cpp.

333 {
334 using namespace Details;
335 switch ( logger().level() ) {
336 case Logger::Debug:
337 return 2;
338 case Logger::Info:
339 return 1;
340 default:
341 return 0;
342 }
343 }

◆ SetDebug()

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

Backward compatibility with Reflex.

Definition at line 322 of file PluginServiceV1.cpp.

322 {
323 using namespace Details;
324 Logger& l = logger();
325 if ( debugLevel > 1 )
326 l.setLevel( Logger::Debug );
327 else if ( debugLevel > 0 )
328 l.setLevel( Logger::Info );
329 else
330 l.setLevel( Logger::Warning );
331 }