208 $this->data = array_merge($this->data,
$data);
264 $timestamp = date(
'r', (
int)$this->created);
267 if (!empty($this->data)) {
270 if (isset($this->data[
'exception']) && $this->data[
'exception'] instanceof \
Exception) {
271 $this->data[
'exception'] = (string)$this->data[
'exception'];
273 $data =
'- ' . json_encode($this->data);
275 $logRecordString = sprintf(
276 '%s [%s] request="%s" component="%s": %s %s',
284 return $logRecordString;
312 $offsetExists =
false;
313 if (in_array($offset, $this->gettableProperties,
true) && isset($this->{$offset})) {
314 $offsetExists =
true;
316 return $offsetExists;
327 if (!in_array($offset, $this->gettableProperties,
true)) {
330 return $this->{$offset};
341 if (in_array($offset, $this->settableProperties,
true)) {
342 $this->{$offset} = $offset;
353 if (in_array($offset, $this->settableProperties,
true)) {
354 unset($this->{$offset});