-
Notifications
You must be signed in to change notification settings - Fork 19
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
Logs include color-changing ASCII codes even when logs are disabled #104
Comments
fixed. |
hey @henricasanova, so this issue refers to 5e840ff right? In one of my activities, I run wrench like this:
And I get no color. But, running In the following functions, when I remove the wrench/src/wrench/logging/TerminalOutput.cpp Lines 41 to 57 in f3f10f7
I want to make sure that change won't break anything else since I don't have any context for this issue. Thanks! |
Let me investigate.... seems that colors are broken a bit. |
Just pushed a fix. Let me know if it addresses your bug. |
ok thanks, it works now |
Reopened this issue because there is still a problem. The WRENCH logging is just a few macros above the XBT logging. For instance, WRENCH_INFO does:
The problem is that if the user disables an xbt log category, the above still does steps #1 and #3. And the xbt log API does not provide an "am I enabled?" or "what's my priority?" API (it does have such functions, but they required the category name). Henri will think of a solution. |
No description provided.
The text was updated successfully, but these errors were encountered: