DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
Gaudi::PluginService::v1::Details::Logger Class Reference

Simple logging class, just to provide a default implementation. More...

#include <PluginServiceDetailsV1.h>

Public Types

enum  Level { Debug = 0, Info = 1, Warning = 2, Error = 3 }
 

Public Member Functions

 Logger (Level level=Warning)
 
virtual ~Logger ()
 
Level level () const
 
void setLevel (Level level)
 
void info (const std::string &msg)
 
void debug (const std::string &msg)
 
void warning (const std::string &msg)
 
void error (const std::string &msg)
 

Private Member Functions

virtual void report (Level lvl, const std::string &msg)
 

Private Attributes

Level m_level
 

Detailed Description

Simple logging class, just to provide a default implementation.

Definition at line 186 of file PluginServiceDetailsV1.h.

Member Enumeration Documentation

◆ Level

Enumerator
Debug 
Info 
Warning 
Error 

Definition at line 188 of file PluginServiceDetailsV1.h.

Constructor & Destructor Documentation

◆ Logger()

Gaudi::PluginService::v1::Details::Logger::Logger ( Level  level = Warning)
inline

Definition at line 189 of file PluginServiceDetailsV1.h.

◆ ~Logger()

virtual Gaudi::PluginService::v1::Details::Logger::~Logger ( )
inlinevirtual

Definition at line 190 of file PluginServiceDetailsV1.h.

Member Function Documentation

◆ debug()

void Gaudi::PluginService::v1::Details::Logger::debug ( const std::string &  msg)
inline

Definition at line 194 of file PluginServiceDetailsV1.h.

◆ error()

void Gaudi::PluginService::v1::Details::Logger::error ( const std::string &  msg)
inline

Definition at line 196 of file PluginServiceDetailsV1.h.

◆ info()

void Gaudi::PluginService::v1::Details::Logger::info ( const std::string &  msg)
inline

Definition at line 193 of file PluginServiceDetailsV1.h.

◆ level()

Level Gaudi::PluginService::v1::Details::Logger::level ( ) const
inline

Definition at line 191 of file PluginServiceDetailsV1.h.

◆ report()

void Gaudi::PluginService::v2::Details::Logger::report ( Level  lvl,
const std::string &  msg 
)
privatevirtual

Definition at line 320 of file PluginServiceV1.cpp.

◆ setLevel()

void Gaudi::PluginService::v1::Details::Logger::setLevel ( Level  level)
inline

Definition at line 192 of file PluginServiceDetailsV1.h.

◆ warning()

void Gaudi::PluginService::v1::Details::Logger::warning ( const std::string &  msg)
inline

Definition at line 195 of file PluginServiceDetailsV1.h.

Member Data Documentation

◆ m_level

Level Gaudi::PluginService::v1::Details::Logger::m_level
private

Definition at line 200 of file PluginServiceDetailsV1.h.


The documentation for this class was generated from the following files: