The debug module is a much better approach to debug/verbose output IMO. Most modules already use it and it has become somewhat of a standard approach for logging debug output to stdout