00001 #ifndef GAUDIKERNEL_IISSUELOGGER_H 00002 #define GAUDIKERNEL_IISSUELOGGER_H 00003 00004 #ifndef GAUDIKERNEL_ISERVICE_H 00005 #include "GaudiKernel/IService.h" 00006 #endif 00007 #include "GaudiKernel/IssueSeverity.h" 00008 #include <string> 00009 00010 00011 class IIssueLogger: virtual public IService { 00012 00013 public: 00014 00015 static const InterfaceID& interfaceID(); 00016 00017 virtual void report(IssueSeverity::Level level, const std::string& msg, 00018 const std::string& origin) = 0; 00019 virtual void report(const IssueSeverity& err) = 0; 00020 00021 }; 00022 00023 inline 00024 const InterfaceID& 00025 IIssueLogger::interfaceID() { 00026 00027 static const InterfaceID m_IID("IssueLogger", 1, 0); 00028 00029 return m_IID; 00030 } 00031 00032 #endif