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

Allow one to style Log Record parameters separately

Open bramus opened this issue 9 years ago • 1 comments

(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 of blinking text for example: blinking the message might not make it all that readable, yet blinking the level and level_name might be.

bramus avatar Jan 07 '15 12:01 bramus

@bramus I've made a pull request here #15 that I think provides this functionality in a nice way.

It leave the current behavior and so should not be breaking I believe, but allow you to set the colorization based on the $format parameter.

aldenw avatar Jul 16 '20 16:07 aldenw