EVTPARAM_CmpAuditLogAdd (STRUCT)¶
TYPE EVTPARAM_CmpAuditLogAdd : STRUCT
Event parameter structure. See EventIDs.EVT_LogAdd for details.
- InOut:
Name
Type
Comment
hAuditLogRTS_IEC_HANDLEHandle to audit logger instance
sessionSession ID of the current connection
pszUserPOINTER TO STRING
User name which executes this online operation
CmpIdUDINTComponentID of the component which add the log entry
iClassIDDINTClassID of the logger. See “Log class” in CmpLog.library for details.
iErrorIDRTS_IEC_RESULTErrorID of the log entry. See CmpErrors2.library
AuditInfoIDDINTID of the info text to enable multiple language error texts
pAuditLogDetailsPOINTER TO AuditLogDetails
Optional message specific details (may be 0)
pszInfoPOINTER TO STRING
Logger format string
pargListPOINTER TO BYTE
Argument list for the format string. NOTE: Use LogCopyInfo(hAuditLog, pszInfo, pargList, pszString, pMaxStringLen) to convert format string and
pargList to a regular string!