Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2914 from stefankleff/…
Browse files Browse the repository at this point in the history
…hotfix/logger-service-factory

LoggerServiceFactory does not return a logger
  • Loading branch information
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LoggerServiceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ public function createService(ServiceLocatorInterface $serviceLocator)
$config = $serviceLocator->get('Config');
$logConfig = isset($config['log']) ? $config['log'] : array();
$logger = new Logger($logConfig);
return $logger;
}
}

0 comments on commit 398a3c4

Please sign in to comment.