LoggableException.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Framework\Exceptions\Contracts; |
| 4 | |
| 5 | interface LoggableException |
| 6 | { |
| 7 | /** |
| 8 | * Returns the human-readable message for the log |
| 9 | * |
| 10 | * @since 2.11.1 |
| 11 | * |
| 12 | * @return string |
| 13 | */ |
| 14 | public function getLogMessage(); |
| 15 | |
| 16 | /** |
| 17 | * Returns an associated array with additional context for the log |
| 18 | * |
| 19 | * @since 2.11.1 |
| 20 | * |
| 21 | * @return array |
| 22 | */ |
| 23 | public function getLogContext(); |
| 24 | } |
| 25 |