Formatter\ConsoleFormatter (Bridge\Monolog)

Symfony\Bridge\Monolog\Formatter\ConsoleFormatter

class ConsoleFormatter extends LineFormatter

Formats incoming records for console output by coloring them depending on log level.

Constants

SIMPLE_FORMAT

Methods

__construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = true)

{@inheritdoc}

format(array $record)

{@inheritdoc}

Details

public __construct($format = null, $dateFormat = null, $allowInlineLineBreaks = false, $ignoreEmptyContextAndExtra = true)

{@inheritdoc}

Parameters

$format
$dateFormat
$allowInlineLineBreaks
$ignoreEmptyContextAndExtra

public format(array $record)

{@inheritdoc}

Parameters

array $record

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部