Skip to content

Instantly share code, notes, and snippets.

@Pum-purum
Last active July 23, 2018 12:34
Show Gist options
  • Save Pum-purum/685a5882b46040e821949c74837d5133 to your computer and use it in GitHub Desktop.
Save Pum-purum/685a5882b46040e821949c74837d5133 to your computer and use it in GitHub Desktop.
Запись в лог Битрикс
CEventLog::Add(array(
"SEVERITY" => "DEBUG",
"AUDIT_TYPE_ID" => 'Запись в лог',
"MODULE_ID" => "iblock",
"ITEM_ID" => 0,
"DESCRIPTION" => json_encode($row, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT),
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment