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(LOG_INFO,Context,Msg);
80 void addDebug(
const std::string& Context,
const std::string& Msg)
82 add(LOG_DEBUG,Context,Msg);
85 void addWarning(
const std::string& Context,
const std::string& Msg)
87 add(LOG_WARNING,Context,Msg);
90 void addError(
const std::string& Context,
const std::string& Msg)
91 { add(LOG_ERROR,Context,Msg); }
96 m_CurrentWarningFlag =
false;
101 return m_CurrentWarningFlag;
Definition: SimulationLogger.hpp:57
void addWarning(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:85
void resetCurrentWarningFlag()
Definition: SimulationLogger.hpp:94
void addInfo(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:75
void addError(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:90
Definition: ApplicationException.hpp:47
void addDebug(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:80
bool isCurrentWarningFlag() const
Definition: SimulationLogger.hpp:99
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: FileLogger.hpp:55
LogType
Definition: FileLogger.hpp:72