YellowCube\Service takes a
Psr\Log\LoggerInterface logger either as constructor argument:
$service = new YellowCube\Service($config, $soapClient, $logger);
or using a setter:
When not setting a logger instance, a NullLogger is used which ignores all logging.
Of the available log levels the following are implemented:
- DEBUG: Log every SOAP request and response.
- INFO: Log
- ERROR: Log SOAP errors.