boodebr A little library from boodebr.org


files/feed-icon-14x14.png Recently Edited
boodebr.util.errors edit
frank, 04 August 2008 (created 19 February 2008)
Catches unhandled exceptions and logs them to a file.

Usage:
import boodebr.util.errors
boodebr.util.errors.catch_exceptions()


You can also specify a log directory with:
boodebr.util.errors.catch_exceptions('/some/log/dir')


If not given, os.getcwd() is used.

blog comments powered by Disqus