// HWLogManager.h : HWLogManager DLL 的主头文件 #ifndef HWLOG_MANAGER #define HWLOG_MANAGER #ifdef HWLOG #define HWLOGAPI _declspec(dllexport) #else #define HWLOGAPI _declspec(dllimport) #endif extern "C" { HWLOGAPI bool InitLogMgr( string strLogFilePath,string strLogFileName,string strLogeBusIP,string strLogeBusPort,string strLogTargetId ); HWLOGAPI bool LogSetting(string strKey, string strValue); HWLOGAPI bool WriteLog(int nWriteMode,const string& strMsgId,const string& strMsgText,const string& strParalist,const string& strLineName, const string& strMsgFilesName, const string& strFreeText,const string& strComments); HWLOGAPI bool CloseLogMgr( ); }; #endif