 |
Manual for OpenFLUID 2.1.11
|
Go to the documentation of this file.
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;
void resetCurrentWarningFlag()
Definition: SimulationLogger.hpp:94
#define OPENFLUID_API
Definition: dllexport.hpp:86
void addError(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:90
void addDebug(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:80
Definition: SimulationLogger.hpp:57
Definition: ApplicationException.hpp:47
void addWarning(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:85
bool isCurrentWarningFlag() const
Definition: SimulationLogger.hpp:99
void addInfo(const std::string &Context, const std::string &Msg)
Definition: SimulationLogger.hpp:75
Definition: FileLogger.hpp:55
LogType
Definition: FileLogger.hpp:72
Generated by
1.8.17