1 #ifndef GAUDISVC_ISSUELOGGER_H
2 #define GAUDISVC_ISSUELOGGER_H
9 #include "boost/function.hpp"
25 const std::string& origin);
MSG::Level sevToMsg(IssueSeverity::Level &lev)
std::map< IssueSeverity::Level, std::string > m_levelTrans
StatusCode connect(const std::string &)
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
void report(IssueSeverity::Level level, const std::string &msg, const std::string &origin)
std::map< std::string, IssueSeverity::Level > m_levelSTrans
virtual StatusCode finalize()
Finalize (from INITIALIZED to CONFIGURED).
StringArrayProperty m_outputfile
IssueSeverity::Level m_reportLevel
StringProperty m_reportLevelS
MsgStream & err() const
shortcut for the method msgStream(MSG::ERROR)
MsgStream & msg() const
shortcut for the method msgStream(MSG::INFO)
void setupDefaultLogger()
This class is used for returning status codes from appropriate routines.
StreamLogger * m_logger[IssueSeverity::NUM_LEVELS]
Base class used to extend a class implementing other interfaces.
virtual const std::string & name() const
Retrieve name of the service.
Property base class allowing Property* collections to be "homogeneous".
void getTraceBack(std::string &stack)
void setupStreams(Property &prop)
void setupLevels(Property &prop)
virtual StatusCode reinitialize()
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
virtual StatusCode initialize()
Initialization (from CONFIGURED to INITIALIZED).
boost::function< void(const std::string &)> m_log[IssueSeverity::NUM_LEVELS]
IssueSeverity::Level m_traceLevel
std::map< IssueSeverity::Level, MSG::Level > m_sevMsgMap
BooleanProperty m_showTime
std::map< MSG::Level, IssueSeverity::Level > m_msgSevMap
StringProperty m_traceLevelS
IssueSeverity::Level msgToSev(MSG::Level &lev)
IssueLogger(const std::string &name, ISvcLocator *svc)