OpenCSD - CoreSight Trace Decode Library
0.14.3
|
Go to the documentation of this file.
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;
85 #endif // ARM_OCSD_MSG_LOGGER_H_INCLUDED
virtual ~ocsdMsgLogStrOutI()
const bool isLogging() const
true if logging active
void LogMsg(const std::string &msg)
Log a message to the current set output channels.
const int getLogOpts() const
get the current output logging flags value.
virtual void printOutStr(const std::string &outStr)=0
void setLogFileName(const char *fileName)
Set the output log filename, and enable logging to file.
void setLogOpts(int logOpts)
set the output logging flags.
void setStrOutFn(ocsdMsgLogStrOutI *p_IstrOut)
Set the output log string callback and enable logging to callback.