35 #ifndef ARM_OCSD_MSG_LOGGER_H_INCLUDED
36 #define ARM_OCSD_MSG_LOGGER_H_INCLUDED
68 {
return m_outFlags; };
80 std::string m_logFileName;
81 std::fstream m_out_file;
virtual ~ocsdMsgLogStrOutI()
virtual void printOutStr(const std::string &outStr)=0
void setStrOutFn(ocsdMsgLogStrOutI *p_IstrOut)
Set the output log string callback and enable logging to callback.
const int getLogOpts() const
get the current output logging flags value.
void setLogFileName(const char *fileName)
Set the output log filename, and enable logging to file.
void LogMsg(const std::string &msg)
Log a message to the current set output channels.
const bool isLogging() const
true if logging active
void setLogOpts(int logOpts)
set the output logging flags.