LoggerInterface deprecated

interface LoggerInterface implements LoggerInterface

deprecated

since version 2.2, to be removed in 3.0. Type-hint \Psr\Log\LoggerInterface instead.

LoggerInterface.

Methods

emerg($message, array $context = array()) deprecated
crit($message, array $context = array()) deprecated
err($message, array $context = array()) deprecated
warn($message, array $context = array()) deprecated

Details

emerg($message, array $context = array()) deprecated

deprecated

since version 2.2, to be removed in 3.0. Use emergency() which is PSR-3 compatible.

Parameters

$message
array $context

crit($message, array $context = array()) deprecated

deprecated

since version 2.2, to be removed in 3.0. Use critical() which is PSR-3 compatible.

Parameters

$message
array $context

err($message, array $context = array()) deprecated

deprecated

since version 2.2, to be removed in 3.0. Use error() which is PSR-3 compatible.

Parameters

$message
array $context

warn($message, array $context = array()) deprecated

deprecated

since version 2.2, to be removed in 3.0. Use warning() which is PSR-3 compatible.

Parameters

$message
array $context

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpKernel/Log/LoggerInterface.html