1: | <?php |
2: | namespace Worldline\Acquiring\Sdk\Logging; |
3: | |
4: | use Exception; |
5: | |
6: | /** |
7: | * Class CommunicatorLogger |
8: | * |
9: | * @package Worldline\Acquiring\Sdk\Logging |
10: | */ |
11: | interface CommunicatorLogger |
12: | { |
13: | /** |
14: | * @param string $message |
15: | */ |
16: | public function log($message); |
17: | |
18: | /** |
19: | * @param string $message |
20: | * @param Exception $exception |
21: | */ |
22: | public function logException($message, Exception $exception); |
23: | } |
24: |