-
Notifications
You must be signed in to change notification settings - Fork 320
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
Add color logging capabilities for promlog #457
base: main
Are you sure you want to change the base?
Conversation
Cherry-pick color logging functionality from #113. Signed-off-by: SuperQ <[email protected]>
Can we make this opt in with a flag --log.color ? |
@roidelapluie Sure, done. I made it opt-out. 😁 |
a15ed67
to
9227990
Compare
72fdbae
to
b989e95
Compare
Signed-off-by: SuperQ <[email protected]>
Signed-off-by: SuperQ <[email protected]>
b989e95
to
9a047ac
Compare
I am pretty sure making it opt out will be an annoyance. It's also personal taste of course. |
We are using a trick to look at the stack to print the file and line number. It might be worth it to double check that this does not get in the way. |
I have tested the PR and it does not work. |
Boo, ok. I'll poke around to see if I can make it work. I was just trying to rebase on the old PR. |
Even when I fix the error in the code, I don't see the errors in my
terminal.
Le sam. 25 févr. 2023, 18:27, Ben Kochie ***@***.***> a
écrit :
… Boo, ok. I'll poke around to see if I can make it work. I was just trying
to rebase on the old PR.
—
Reply to this email directly, view it on GitHub
<#457 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACHHJXL7I7IGXNS43KXPBLWZI6JPANCNFSM6AAAAAAVHZITUM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Cherry-pick color logging functionality from #113.