monolog-colored-line-formatter icon indicating copy to clipboard operation
monolog-colored-line-formatter copied to clipboard

Colored/ANSI Line Formatter for Monolog

Results 7 monolog-colored-line-formatter issues
Sort by recently updated
recently updated
newest added

Since Monolog 3.0.0-RC1, the LogRecord is a object with ArrayAccess implementation instead of a plain array. The ColoredLineFormatter\format() function was expecting a array. I removed that requirement and implemented a...

Monolog 3.0 removed \Monolog\Level::getLevels() per the release notes (https://github.com/Seldaek/monolog/blob/main/UPGRADE.md) so `Bramus\Monolog\Formatter\ColorSchemes\ColorSchemeTrait.setColorizeArray` fails and should be replaced with `\Monolog\Level::VALUES)` as suggested by monolog release notes

This would preserve the current default behaviour of colorizing the entire line, but add the option to colorize some portion of line using `%color_begin%` and `%color_end%` tokens in the $format....

(Ref. https://github.com/Seldaek/monolog/issues/212#issuecomment-69013052) Right now entire records are styled. In some cases it might be feasible to separately style the `level`, `level_name`, `channel`, `message`, etc. parameters of a Log Record. Think...

enhancement

When I want to have log lines in console separated by new lines to be human-readablae -- I can't have them. As I understand, reset string will work even after...

In this commit https://github.com/bramus/monolog-colored-line-formatter/commit/32ed1933a89e114a619d12ba24edf674dd699493 a braking change was added but it wasn't tagged as a new major version, so projects break when they update. Workaround: Fix library version to 3.0.6...