Логгер
класс Logger расширяет AbstractLogger
Минималистичный логгер PSR-3, предназначенный для записи в stderr или любой другой поток.
Методы
| __construct(string $minLevel = null, $output = 'php://stderr', callable $formatter = null) | ||
| log($level, $message, array $context = array()) {@inheritdoc} |
Детали
__construct(string $minLevel = null, $output = 'php://stderr', callable $formatter = null)
Параметры
| string | $minLevel | |
| $output | ||
| callable | $formatter |
log($level, $message, array $context = array())
{@inheritdoc}
Параметры
| $level | ||
| $message | ||
| array | $context |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Component/HttpKernel/Log/Logger.html