HWLogManager_API.h 678 B

12345678910111213141516171819202122
  1. // HWLogManager.h : HWLogManager DLL µÄÖ÷Í·Îļþ
  2. #ifndef HWLOG_MANAGER
  3. #define HWLOG_MANAGER
  4. #ifdef HWLOG
  5. #define HWLOGAPI _declspec(dllexport)
  6. #else
  7. #define HWLOGAPI _declspec(dllimport)
  8. #endif
  9. extern "C"
  10. {
  11. HWLOGAPI bool InitLogMgr( string strLogFilePath,string strLogFileName,string strLogeBusIP,string strLogeBusPort,string strLogTargetId );
  12. HWLOGAPI bool LogSetting(string strKey, string strValue);
  13. HWLOGAPI bool WriteLog(int nWriteMode,const string& strMsgId,const string& strMsgText,const string& strParalist,const string& strLineName,
  14. const string& strMsgFilesName, const string& strFreeText,const string& strComments);
  15. HWLOGAPI bool CloseLogMgr( );
  16. };
  17. #endif