Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
46 | public function format(Record $record) |
||
47 | { |
||
48 | $string = strtr( |
||
49 | static::FORMAT, |
||
50 | [ |
||
51 | '%datetime%' => $record->getDatetime()->format( |
||
52 | static::DATETIME_FORMAT |
||
53 | ), |
||
54 | '%level%' => $record->getLevel(), |
||
55 | '%message%' => $record->getMessage(), |
||
56 | '%contextPlaceholder%' => $this->prepareContextPart($record), |
||
57 | ] |
||
58 | ); |
||
59 | |||
60 | return $string; |
||
61 | } |
||
63 |