Coloured line formatting

This commit is contained in:
Greyscale 2021-07-24 10:02:30 +02:00
parent a458d5462c
commit 602ea00d07
2 changed files with 5 additions and 5 deletions

View file

@ -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",

View file

@ -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;
});