47 if($this->logLevel <
$level ||
$level == static::LOG_LEVEL_DISABLE)
50 if(!array_key_exists(
$level, $this->severities))
53 $eventLog = new \CEventLog;
55 return $eventLog->Add(array(
56 "SEVERITY" => $this->severities[
$level],
57 "AUDIT_TYPE_ID" => $type,
58 "MODULE_ID" =>
"sale",
60 "DESCRIPTION" => $description,