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 string $message
15: *
16: * @return void
17: */
18: public function log(string $message): void;
19:
20: /**
21: * @param string $message
22: * @param Exception $exception
23: *
24: * @return void
25: */
26: public function logException(string $message, Exception $exception): void;
27: }
28: