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

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

{@inheritdoc}

Parameters

$format
$dateFormat
$allowInlineLineBreaks
$ignoreEmptyContextAndExtra

format(array $record)

{@inheritdoc}

Parameters

array $record
doc_Symfony
2016-10-28 06:11:22
Comments
Leave a Comment

Please login to continue.