-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
TextFormatter uses isTerminal before it's initialized #1298
Labels
Comments
deadok22
added a commit
to deadok22/logrus
that referenced
this issue
Nov 24, 2021
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
There's an approved MR: #1299 |
How do I reopen this issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
isColored
call in this snippet uses theisTerminal
flag before it is initialized on the last line of this snippet. That results in the sort order of the fields in the first message formatted viaTextFormatter
not having its fields sorted.The text was updated successfully, but these errors were encountered: