@@ -36,25 +36,25 @@ |
||
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | return strtr( |
| 39 | - static::CONTEXT_FORMAT, |
|
| 40 | - [ |
|
| 39 | + static::CONTEXT_FORMAT, |
|
| 40 | + [ |
|
| 41 | 41 | '%context%' => $this->dumper->dump($context), |
| 42 | - ] |
|
| 42 | + ] |
|
| 43 | 43 | ); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | public function format(Record $record) |
| 47 | 47 | { |
| 48 | 48 | $string = strtr( |
| 49 | - static::FORMAT, |
|
| 50 | - [ |
|
| 49 | + static::FORMAT, |
|
| 50 | + [ |
|
| 51 | 51 | '%datetime%' => $record->getDatetime()->format( |
| 52 | - static::DATETIME_FORMAT |
|
| 52 | + static::DATETIME_FORMAT |
|
| 53 | 53 | ), |
| 54 | 54 | '%level%' => $record->getLevel(), |
| 55 | 55 | '%message%' => $record->getMessage(), |
| 56 | 56 | '%contextPlaceholder%' => $this->prepareContextPart($record), |
| 57 | - ] |
|
| 57 | + ] |
|
| 58 | 58 | ); |
| 59 | 59 | |
| 60 | 60 | return $string; |