Log
int CEventLog::Add(array( 'SEVERITY' => 'INFO', 'AUDIT_TYPE_ID' => 'MY_TYPE_INFO', 'MODULE_ID' => 'main', 'DESCRIPTION' => $text_my_info, ) );
The method adds a record into a log. Static method.
Parameters
Parameter | Description | Available from version |
---|---|---|
SEVERITY | Record priority degree. The following values are available: SECURITY, ERROR, WARNING, INFO, DEBUG for other values system specifies UNKNOWN. | |
AUDIT_TYPE_ID | Record's event ID. | |
MODULE_ID | Record's module ID | |
ITEM_ID | Added object ID (user, information security element, message ID). | |
DESCRIPTION | Log record description or technical information. Optional. Default value is false. | |
SITE_ID | Log record's site ID. Optional. Default is false. | 11.5.8 |
© «Bitrix24», 2001-2024