/**
  * @param ServiceLocatorInterface|ContainerInterface $container
  * @param MonologOptions $options
  * @return Logger
  */
 public function createLogger($container, MonologOptions $options)
 {
     $logger = new Logger($options->getName());
     $handlers = array_reverse($options->getHandlers());
     foreach ($handlers as $handler) {
         $logger->pushHandler($this->createHandler($container, $options, $handler));
     }
     foreach ($options->getProcessors() as $processor) {
         $logger->pushProcessor($this->createProcessor($container, $processor));
     }
     return $logger;
 }
 public function testSetName()
 {
     $this->sut->setName($expected = 'MyLogger');
     self::assertEquals($expected, $this->sut->getName());
 }