The Gaudi Framework  master (fb3055f7)
Loading...
Searching...
No Matches
Gaudi::PluginService::v1 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

◆ Debug()

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

Backward compatibility with Reflex.

Definition at line 309 of file PluginServiceV1.cpp.

309 {
310 using namespace Details;
311 switch ( logger().level() ) {
312 case Logger::Debug:
313 return 2;
314 case Logger::Info:
315 return 1;
316 default:
317 return 0;
318 }
319 }

◆ SetDebug()

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

Backward compatibility with Reflex.

Definition at line 298 of file PluginServiceV1.cpp.

298 {
299 using namespace Details;
300 Logger& l = logger();
301 if ( debugLevel > 1 )
302 l.setLevel( Logger::Debug );
303 else if ( debugLevel > 0 )
304 l.setLevel( Logger::Info );
305 else
306 l.setLevel( Logger::Warning );
307 }