Replies: 2 comments
-
|
I believe this is a function of the logfmt format, and likely by design — you don't want unescaped escape sequences in your logs by default, as they can be an exploit vector. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Oh, thx. if I don't use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First of all, I know there is a
NewColorLogger, but I just want to avoid it and do ANSI escape sequence myself.Now, please take a look
https://gist.github.com/suntong/a558d24b7209bc62ee932bbfbe31c6b1
its output is not what I was expecting:
Any way to get my own ANSI escape sequence output works? thx
Beta Was this translation helpful? Give feedback.
All reactions