LoggerInterface.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AmeliaBooking\Domain\Services\Logger; |
| 4 | |
| 5 | /** |
| 6 | * Interface LoggerInterface |
| 7 | * |
| 8 | * @package AmeliaBooking\Domain\Services\Logger |
| 9 | */ |
| 10 | interface LoggerInterface |
| 11 | { |
| 12 | /** Log an informational message */ |
| 13 | public function info(string $message, array $context = []): void; |
| 14 | |
| 15 | /** Log an error message */ |
| 16 | public function error(string $message, array $context = []): void; |
| 17 | |
| 18 | /** Log a warning message */ |
| 19 | public function warning(string $message, array $context = []): void; |
| 20 | |
| 21 | /** Log a debug message */ |
| 22 | public function debug(string $message, array $context = []): void; |
| 23 | } |
| 24 |