| 1 | <?php namespace UnderstandMonolog\Formatter; |
||
| 5 | class UnderstandFormatter implements FormatterInterface |
||
| 6 | { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * Format event |
||
| 10 | * |
||
| 11 | * @param array $record |
||
| 12 | * @return string |
||
| 13 | */ |
||
| 14 | public function format(array $record) |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Format batch of events |
||
| 23 | * |
||
| 24 | * @param array $records |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function formatBatch(array $records) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Convert datetime to _timestamp format |
||
| 41 | * |
||
| 42 | * @param array $record |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | protected function convertDatetime(array $record) |
||
| 59 | } |