Enhancement request: debug_print() function for easily debugging desklets

Bug #343637 reported by Joe Sapp
2
Affects Status Importance Assigned to Milestone
gDesklets
Triaged
Wishlist
gDesklets Core Team

Bug Description

It would be nice to have a built-in function available for desklets that prints information to the log only when a variable, i.e. DEBUG, is set within the user script. It could make less work to go between debugging and release and would be useful for finding and fixing bugs within desklets.

Revision history for this message
Bjoern Koch (h.humpel) wrote :

Great idea!
And I think we can include it (some kind of debug level output) into the "Improved logging system" blueprint (https://blueprints.launchpad.net/gdesklets/+spec/improved-logging-system) ?!

Changed in gdesklets:
importance: Undecided → Wishlist
status: New → Triaged
Bjoern Koch (h.humpel)
Changed in gdesklets:
milestone: none → release-of-0.37
assignee: nobody → gDesklets Core Team (gdesklets-core-team)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.