PHP Класс Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\FixEmptyLoggerPass
Monolog 1.x adds a default handler logging on STDERR when a logger has
no registered handlers. This is NOT what what we want in Symfony, so in such
cases, we add a "null" handler to avoid the issue.
Note that Monolog 2.x does not register a default handler anymore, so this pass can
be removed when MonologBundle minimum version of Monolog is bumped to 2.0.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод |
Описание |
|
__construct ( Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\LoggerChannelPass $channelPass ) |
|
|
process ( ContainerBuilder $container ) |
|
|
Описание методов
__construct()
публичный Метод
public __construct ( Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\LoggerChannelPass $channelPass ) |
$channelPass |
Symfony\Bundle\MonologBundle\DependencyInjection\Compiler\LoggerChannelPass |
|
process()
публичный Метод
public process ( ContainerBuilder $container ) |
$container |
Symfony\Component\DependencyInjection\ContainerBuilder |
|