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

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

{@inheritdoc}

Parameters

$format
$dateFormat
$allowInlineLineBreaks
$ignoreEmptyContextAndExtra

at line 37
format(array $record)

{@inheritdoc}

Parameters

array $record