log: Make the log_exception support a per instance logger.
authorMatthijs Kooijman <matthijs@stdin.nl>
Sat, 7 Aug 2010 19:09:20 +0000 (21:09 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Sat, 7 Aug 2010 19:09:20 +0000 (21:09 +0200)
Previously, the logger to use was always passed to the decorator
directly, thus it must be known at class-definition time. Now, the
decorator supports not being passed a logger, in which case it will
assume the decorated function is a method on an object that has a "log"
attribute.


No differences found