@@ 49-51 (lines=3) @@ | ||
46 | ||
47 | $this->addField(new Field('When', $this->record['datetime']->format('d/m/Y H:m:i'), true)); |
|
48 | ||
49 | if (!empty($this->record['context'])) { |
|
50 | $this->addField(new Field('Context', json_encode($this->record['context']))); |
|
51 | } |
|
52 | ||
53 | if (!empty($this->record['extra'])) { |
|
54 | $this->addField(new Field('Extra', json_encode($this->record['extra']))); |
|
@@ 53-55 (lines=3) @@ | ||
50 | $this->addField(new Field('Context', json_encode($this->record['context']))); |
|
51 | } |
|
52 | ||
53 | if (!empty($this->record['extra'])) { |
|
54 | $this->addField(new Field('Extra', json_encode($this->record['extra']))); |
|
55 | } |
|
56 | ||
57 | if ($this->error !== null) { |
|
58 | $this->addField(new Field('Line', $this->error->getLine(), true)); |