![]() |
C++客户端开发接口库 V5.1.8.15
连接信创集成中间件服务程序的二次开发接口
|
#include <RDMSLogHelper.h>
Public 成员函数 | |
| CRDMSLogHelper () | |
| ~CRDMSLogHelper () | |
| bool | StartRDMSLogSave (const std::string &sProductName, const std::string &sVersion, const std::string &sUserName="MIMP", int iTickSecond=10 *60000) |
| bool | IsStart () |
| void | StopRDMSLogSave () |
| void | PushAlterMessage (const std::string &sDescript) |
| void | PushServerAbility (const std::string &sServerAbility) |
| void | PushExecuteAbility (const std::string &sExecuteAbility) |
| void | ClearStatusAlert () |
| void | PushErrorLogInfo (const std::string &context, const std::string &sLogType={}) |
| void | PushWaringLogInfo (const std::string &context, const std::string &sLogType={}) |
| bool | RegisterCurrentClient () |
将错误日志保存到RDMS系统中,此功能是否启动由所连接的中间件服务器参数【是否上传日志到RDMS系统】控制.
| mdwc::CRDMSLogHelper::CRDMSLogHelper | ( | ) |
构造函数
| mdwc::CRDMSLogHelper::~CRDMSLogHelper | ( | ) |
析构函数

| void mdwc::CRDMSLogHelper::ClearStatusAlert | ( | ) |
清除错误报警内容
| bool mdwc::CRDMSLogHelper::IsStart | ( | ) |
是否已经启动
| void mdwc::CRDMSLogHelper::PushAlterMessage | ( | const std::string & | sDescript | ) |
设置状态报警的内容.
| sDescript | 报警的内容 |
| void mdwc::CRDMSLogHelper::PushErrorLogInfo | ( | const std::string & | context, |
| const std::string & | sLogType = {} ) |
保存错误日志信息.
| context | 日志描述 |
| sLogType | 日志类型 |
| void mdwc::CRDMSLogHelper::PushExecuteAbility | ( | const std::string & | sExecuteAbility | ) |
本机启用的功能描述.
| sExecuteAbility | 功能描述 |
| void mdwc::CRDMSLogHelper::PushServerAbility | ( | const std::string & | sServerAbility | ) |
本机提供的功能描述.
| sServerAbility | 功能描述 |
| void mdwc::CRDMSLogHelper::PushWaringLogInfo | ( | const std::string & | context, |
| const std::string & | sLogType = {} ) |
保存错误日志信息.
| context | 日志描述 |
| sLogType | 日志类型 |
| bool mdwc::CRDMSLogHelper::RegisterCurrentClient | ( | ) |
向RDMS服务器注册当前工作站终端.
| bool mdwc::CRDMSLogHelper::StartRDMSLogSave | ( | const std::string & | sProductName, |
| const std::string & | sVersion, | ||
| const std::string & | sUserName = "MIMP", | ||
| int | iTickSecond = 10 * 60000 ) |
启动RDMS日志上传功能.
| sProductName | 产品唯一名称标识 |
| sVersion | 产品当前版本 |
| sUserName | 当前操作的用户名 |
| iTickSecond | 状态更新时间间隔 |
| void mdwc::CRDMSLogHelper::StopRDMSLogSave | ( | ) |
停止RDMS日志上传功能
