diff --git a/composer.json b/composer.json index 616c9fb..84d13c9 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "ext-zip": "*", "bjeavons/zxcvbn-php": "^1.0", "brainmaestro/composer-git-hooks": "^2.8", - "bramus/monolog-colored-line-formatter": "^3.0", + "bramus/monolog-colored-line-formatter": "~3.0", "cache/apc-adapter": "^1.0", "cache/apcu-adapter": "^1.0", "cache/array-adapter": "^1.0", @@ -37,10 +37,10 @@ "donatj/flags": "^1.4", "fakerphp/faker": "^1.14.1", "friendsofphp/php-cs-fixer": "^2.0", - "matthewbaggett/inflection": "^2.1", - "matthewbaggett/uuid": "^2.3", "kint-php/kint": "^3.3", "kint-php/kint-twig": "^3.0", + "matthewbaggett/inflection": "^2.1", + "matthewbaggett/uuid": "^2.3", "mattketmo/camel": "^1.1", "maximebf/debugbar": "^1.16", "middlewares/content-length": "^2.0", diff --git a/src/App.php b/src/App.php index 5c2edc8..21ec70f 100644 --- a/src/App.php +++ b/src/App.php @@ -10,6 +10,8 @@ use Benzine\Services\ConfigurationService; use Benzine\Services\EnvironmentService; use Benzine\Services\SessionService; use Benzine\Twig\Extensions; +use Bramus\Monolog\Formatter\ColoredLineFormatter; +use Bramus\Monolog\Formatter\ColorSchemes\TrafficLight; use Cache\Adapter\Apc\ApcCachePool; use Cache\Adapter\Apcu\ApcuCachePool; use Cache\Adapter\Chain\CachePoolChain; @@ -30,7 +32,6 @@ use Faker\Factory as FakerFactory; use Faker\Provider; use Middlewares\TrailingSlash; use Monolog\Formatter\LineFormatter; -use Monolog\Handler\ErrorLogHandler; use Monolog\Handler\StreamHandler; use Monolog\Logger; use Monolog\Processor\PsrLogMessageProcessor; @@ -364,7 +365,6 @@ class App $cliHandler->setFormatter($cliFormatter); $monolog->pushHandler($cliHandler); - return $monolog; });