Spec-Zone.ru › Symfony 2.7

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}

Параметры

array $record

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Bridge/Monolog/Formatter/ConsoleFormatter.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API