Skip to content

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

Closed
@MattStarfield

Description

@MattStarfield

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..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions