LoggableException.php
21 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 | public function getLogMessage(): string; |
| 13 | |
| 14 | /** |
| 15 | * Returns an associated array with additional context for the log |
| 16 | * |
| 17 | * @since 2.11.1 |
| 18 | */ |
| 19 | public function getLogContext(): array; |
| 20 | } |
| 21 |