Merge pull request #9 from timw4mail/scrutinizer-patch-1

Scrutinizer Auto-Fixes
This commit is contained in:
Timothy Warren 2015-11-16 11:40:26 -05:00
commit c009a96a15
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ return function(array $config_array = []) {
// -------------------------------------------------------------------------
$app_logger = new Logger('animeclient');
$app_logger->pushHandler(new RotatingFileHandler(__DIR__.'/logs/app.log', Logger::NOTICE));
$app_logger->pushHandler(new RotatingFileHandler(__DIR__ . '/logs/app.log', Logger::NOTICE));
$app_logger->pushHandler(new BrowserConsoleHandler(Logger::DEBUG));
$container->setLogger($app_logger);

View File

@ -33,6 +33,7 @@ interface ContainerInterface extends \Interop\Container\ContainerInterface {
*
* @param LoggerInterface $logger
* @param string $key The logger 'channel'
* @return Container
*/
public function setLogger(LoggerInterface $logger, $key = 'default');