Vinay Sajip <[EMAIL PROTECTED]> added the comment:
You don't need to change the logging package for this. Simply generate a
bona-fide dict from your UserDict or DictMixin subclass as follows:
dict(userDict_or_mixIn_instance)
and pass that into the logging call instead of userDict_or_mixIn_insta
New submission from Will Maier <[EMAIL PROTECTED]>:
In (at least) Python 2.5.2, logging.logRecord provides a very useful
facility to interpolate formatted strings. This feature expands an *args
sequence; if that sequence has only one element and that element is a
dictionary, LogRecord uses the di