[6.x] Add 'null' logging channel (#5106)

* Add 'none' logging channel

* Remove extra spaces

* Rename 'none' channel to 'null'

* Update logging.php
This commit is contained in:
Roger Vilà 2019-09-13 21:47:34 +02:00 committed by Taylor Otwell
parent 42e864f3f5
commit c70c986e58
1 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,6 @@
<?php
use Monolog\Handler\NullHandler;
use Monolog\Handler\StreamHandler;
use Monolog\Handler\SyslogUdpHandler;
@ -89,6 +90,11 @@ return [
'driver' => 'errorlog',
'level' => 'debug',
],
'null' => [
'driver' => 'monolog',
'handler' => NullHandler::class,
],
],
];