Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow one to style Log Record parameters separately #6

Open
bramus opened this issue Jan 7, 2015 · 1 comment
Open

Allow one to style Log Record parameters separately #6

bramus opened this issue Jan 7, 2015 · 1 comment
Milestone

Comments

@bramus
Copy link
Owner

bramus commented Jan 7, 2015

(Ref. Seldaek/monolog#212 (comment))

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 bramus added this to the 3.0 milestone Jan 7, 2015
@aldenw
Copy link

aldenw commented Jul 16, 2020

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants