40 #ifndef __OPENFLUID_TOOLS_FILELOGGER_HPP__ 
   41 #define __OPENFLUID_TOOLS_FILELOGGER_HPP__ 
   49 namespace openfluid { 
namespace tools {
 
   58     std::ofstream m_LogFile;
 
   60     unsigned int m_InfosCount;
 
   62     unsigned int m_WarningsCount;
 
   69     enum LogType {LOG_INFO, LOG_WARNING, LOG_ERROR, LOG_DEBUG };
 
   76     static std::string logTypeToString(LogType LType);
 
   78     void init(
const std::string& FilePath);
 
   82     void add(LogType LType, 
const std::string& Context, 
const std::string& Msg);
 
   85     { 
return m_InfosCount; }
 
   91     { 
return m_WarningsCount; }
 
LogType
Definition: FileLogger.hpp:69
unsigned int getInfosCount() const 
Definition: FileLogger.hpp:84
unsigned int getWarningsCount() const 
Definition: FileLogger.hpp:90
Definition: FileLogger.hpp:52
#define OPENFLUID_API
Definition: dllexport.hpp:87
bool isError() const 
Definition: FileLogger.hpp:87