public function log($message): void
	{
		$defaults = [
			'SEVERITY' => 'INFO',
			'AUDIT_TYPE_ID' => $this->auditTypeId,
			'ITEM_ID' => $this->itemId ?: '',
		];

		$message = $this->logMessToArray($message);

		CEventLog::Add(array_merge($defaults, $message, ['MODULE_ID' => $this->moduleId]));
	}
public function log($message): void
	{
		$defaults = [
			'SEVERITY' => 'INFO',
			'AUDIT_TYPE_ID' => $this->auditTypeId,
			'ITEM_ID' => $this->itemId ?: '',
		];

		$message = $this->logMessToArray($message);

		CEventLog::Add(array_merge($defaults, $message, ['MODULE_ID' => $this->moduleId]));
	}
public function log ( $ message ) : void { $ defaults = [ 'SEVERITY' => 'INFO' , 'AUDIT_TYPE_ID' => $ this -> auditTypeId , 'ITEM_ID' => $ this -> itemId ? : '' , ] ; $ message = $ this -> logMessToArray ( $ message ) ; CEventLog :: Add ( array_merge ( $ defaults , $ message , [ 'MODULE_ID' => $ this -> moduleId ] ) ) ; }
Add message to event log
@param string|array $message log message string or array with fields to pass into CEventLog::Add
Add message to event log