40 #ifndef __OPENFLUID_BASE_SIMULATIONLOGGER_HPP__
41 #define __OPENFLUID_BASE_SIMULATIONLOGGER_HPP__
45 #include <openfluid/core/TypeDefs.hpp>
48 #include <openfluid/ware/TypeDefs.hpp>
62 bool m_CurrentWarningFlag;
73 void add(
LogType LType,
const std::string& ContextStr,
const std::string& Msg);
75 void addInfo(
const std::string& Context,
const std::string& Msg)
77 add(LogType::INFO_MSG,Context,Msg);
80 void addDebug(
const std::string& Context,
const std::string& Msg)
82 add(LogType::DEBUG_MSG,Context,Msg);
85 void addWarning(
const std::string& Context,
const std::string& Msg)
87 add(LogType::WARNING_MSG,Context,Msg);
90 void addError(
const std::string& Context,
const std::string& Msg)
92 add(LogType::ERROR_MSG,Context,Msg);
98 m_CurrentWarningFlag =
false;
103 return m_CurrentWarningFlag;
Definition: SimulationLogger.hpp:58
void add(LogType LType, const std::string &ContextStr, const std::string &Msg)
void resetCurrentWarningFlag()
Definition: SimulationLogger.hpp:96
void addError(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:90
bool isCurrentWarningFlag() const
Definition: SimulationLogger.hpp:101
void addInfo(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:75
SimulationLogger(const std::string &LogFilePath)
void addWarning(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:85
void addDebug(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:80
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47