This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This module provides a decorator that can be added to any function to provide | |
debug output that shows the values of the arguments passed in as well as the | |
return value. If a Logger object is passed in to the decorator, all debug | |
output will go to that Logger object. Otherwise, the output will go to the | |
default Logger object. | |
Tip: If using the default Logger object, don't forget to set the logging level | |
to DEBUG if you want to see output on stdout. |