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