Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
This commit is contained in:
parent
afced2339a
commit
38b2f34527
@ -27,7 +27,7 @@ return function(array $config_array = []) {
|
|||||||
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
||||||
|
|
||||||
$app_logger = new Logger('animeclient');
|
$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));
|
$app_logger->pushHandler(new BrowserConsoleHandler(Logger::DEBUG));
|
||||||
$container->setLogger($app_logger);
|
$container->setLogger($app_logger);
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ interface ContainerInterface extends \Interop\Container\ContainerInterface {
|
|||||||
*
|
*
|
||||||
* @param LoggerInterface $logger
|
* @param LoggerInterface $logger
|
||||||
* @param string $key The logger 'channel'
|
* @param string $key The logger 'channel'
|
||||||
|
* @return Container
|
||||||
*/
|
*/
|
||||||
public function setLogger(LoggerInterface $logger, $key = 'default');
|
public function setLogger(LoggerInterface $logger, $key = 'default');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user