ConsoleFormatter
class ConsoleFormatter extends LineFormatter
Форматирует входящие записи для вывода в консоль, окрашивая их в зависимости от уровня логирования.
Постоянные значения
| SIMPLE_FORMAT |
Методы
| __construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = true) {@inheritdoc} | ||
| format(array $record) {@inheritdoc} |
Подробное описание
__construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = true)
{@inheritdoc}
Параметры
| $format | ||
| $dateFormat | ||
| $allowInlineLineBreaks | ||
| $ignoreEmptyContextAndExtra |
format(array $record)
{@inheritdoc}
Параметры
| массив | $record |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Bridge/Monolog/Formatter/ConsoleFormatter.html