<?php

namespace DropshippingExportFreeVendor\WPDesk\Library\DropshippingExport\Infrastructure\Service\Listener\Items\ServiceNameLogger;

use DropshippingExportFreeVendor\WPDesk\Library\DropshippingExport\Infrastructure\Service\Listener\Abstraction\AbstractServiceListener;
use DropshippingExportFreeVendor\WPDesk\Library\DropshippingExport\Infrastructure\Service\Container\Abstraction\ServiceContainerInterface;
/**
 * Class ServiceNameLoggerListener, log servies class names.
 *
 * @package WPDesk\Library\DropshippingExport\Infrastructure\Service\Listener\ServiceNameLogger
 */
final class ServiceNameLoggerListener extends AbstractServiceListener
{
    /**
     * @see AbstractServiceListener::update()
     */
    public function update($service, ServiceContainerInterface $service_container)
    {
        error_log(get_class($service));
    }
}
