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 |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Bridge/Monolog/Formatter/ConsoleFormatter.html