src/Framework/ServiceLocator/Factory/Logger/LoggerFactory.php
protected function getWriter(ServiceLocatorInterface $serviceLocator, string $name, array $options): object
    {
        return $serviceLocator->getService($name, $options);
    }
protected function getWriter(ServiceLocatorInterface $serviceLocator, string $name, array $options): object
    {
        return $serviceLocator->getService($name, $options);
    }
Get writer for name with options.

@param ServiceLocatorInterface $serviceLocator
@param string                  $name
@param array                   $options
@return WriterInterface
@throws ServiceLocatorException