EVTPARAM_CmpAuditLogAdd (STRUCT)¶
TYPE EVTPARAM_CmpAuditLogAdd : STRUCT
Event parameter structure. See EventIDs.EVT_LogAdd for details.
- InOut:
Name
Type
Comment
hAuditLog
RTS_IEC_HANDLE
Handle to audit logger instance
session
Session ID of the current connection
pszUser
POINTER TO STRING
User name which executes this online operation
CmpId
UDINT
ComponentID of the component which add the log entry
iClassID
DINT
ClassID of the logger. See “Log class” in CmpLog.library for details.
iErrorID
RTS_IEC_RESULT
ErrorID of the log entry. See CmpErrors2.library
AuditInfoID
DINT
ID of the info text to enable multiple language error texts
pAuditLogDetails
POINTER TO AuditLogDetails
Optional message specific details (may be 0)
pszInfo
POINTER TO STRING
Logger format string
pargList
POINTER 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!