Skip to content
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

Option to show debugLevel of each Debug.print() statement (e.g. [V] ...) #6

Closed
MattStarfield opened this issue Aug 26, 2020 · 2 comments
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@MattStarfield
Copy link

When looking at a wall of debug print statements, it can be useful to see what debug level each statement was printed at so that you can decide if a particular statement should be moved to a different debug level. This could be achieved with as little as a single character, e.g. DBG_ERROR = E, DBG_WARNING = W, etc...

I suggest adding a switch to include printing the debug level of each Debug.print statement, e.g.

showDebugLevelOn()

Debug.print statements could then look like:

[ timestamp ] [E] "rest of print statement..."

or

[ timestamp E ] "rest of print statement..."

@MattStarfield MattStarfield changed the title Show debugLevel of each Debug.print() statement (e.g. [V] ...) Option to show debugLevel of each Debug.print() statement (e.g. [V] ...) Aug 26, 2020
@aentinger
Copy link
Contributor

Similar to #7 - Can you please create a PR?

@aentinger
Copy link
Contributor

Duplicate of #7.

@per1234 per1234 added conclusion: duplicate Has already been submitted type: enhancement Proposed improvement topic: code Related to content of the project itself labels Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: duplicate Has already been submitted topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

No branches or pull requests

3 participants