-
Notifications
You must be signed in to change notification settings - Fork 23
wd_demo: improved messages in console #288
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
Conversation
I don't see why this change is needed since (as you've already pointed out) you can identify the wd_demo "messages" by color. Technically, you could also use RegEx to locate the lines beginning with the character set [^+-!]. P.S. I see that we are using all four of these prefixes (^, +, -, and !). Is that needed / desirable? |
It helps me a lot in understanding what I see in the logs. The same way it should help new commers to easier understand how the wd_demo.au3 code works. BLUE: bypassing DEMO GRAY: UDF Messages. |
Ok, but I don't see how adding "wd_demo.au3" improves the readability of the log. Personally, I would think adding |
Thanks. Take a look on: F4 Feature |
It isn't clear exactly what you wanted me to see. From what I can see, you can't use the prefixes in combination with @ to get the line jump feature. |
It cleary states that it comes from "wd_demo.au3", as a result, you do not have to wonder what this message is about. |
Fine. However, some of your changes seem inconsistent. For example --
vs
Shouldn't these be formatted in a similar fashion? |
the first are from main fucntions I would like to leave them as they are proposed. |
🤷♂️ |
Pull request
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
Please ensure you have read and noticed the checklist below.
Checklist
Put an
x
in the boxes that apply. If you're unsure about any of them, don't hesitate to ask. We are here to help!This is simply a reminder of what we are going to look for before merging your code.
Types of changes
Please check
x
the type of change your PR introduces:What is the current behavior?
wd_demo.au3 messages in console were distinguishable from wd_core.au3 and wd_helper.au3 only by color
What is the new behavior?
currently wd_demo.au3 messages in console are prefixed with
wd_demo.au3:
This helps to distinguish demo messages from UDF messages
Additional context
Add any other context about the problem here.
System under test
Please complete the following information.