41 #ifndef __OPENFLUID_BASE_SIMULATIONLOGGER_HPP__ 42 #define __OPENFLUID_BASE_SIMULATIONLOGGER_HPP__ 46 #include <openfluid/core/TypeDefs.hpp> 49 #include <openfluid/ware/TypeDefs.hpp> 64 bool m_CurrentWarningFlag;
75 void add(
LogType LType,
const std::string& ContextStr,
const std::string& Msg);
77 void addInfo(
const std::string& Context,
const std::string& Msg)
78 { add(LOG_INFO,Context,Msg); }
80 void addDebug(
const std::string& Context,
const std::string& Msg)
81 { add(LOG_DEBUG,Context,Msg); }
83 void addWarning(
const std::string& Context,
const std::string& Msg)
84 { add(LOG_WARNING,Context,Msg); }
86 void addError(
const std::string& Context,
const std::string& Msg)
87 { add(LOG_ERROR,Context,Msg); }
void addDebug(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:80
Definition: SimulationLogger.hpp:59
void addInfo(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:77
Definition: FileLogger.hpp:52
void addError(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:86
Definition: ApplicationException.hpp:47
bool isCurrentWarningFlag() const
Definition: SimulationLogger.hpp:92
void resetCurrentWarningFlag()
Definition: SimulationLogger.hpp:90
#define OPENFLUID_API
Definition: dllexport.hpp:87
void addWarning(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:83
LogType
Definition: FileLogger.hpp:69