[Python-Dev] Re: PEP 282 comments (original) (raw)

Vinay Sajip vinay_sajip@red-dove.com
Wed, 20 Mar 2002 23:29:04 -0000


ZEO is a component that lets clients on remote machines access a ZODB storage using a custon Python RMI. (The details aren't exactly important, except that it's a concrete example.) Point taken. In my current implementation, there is a generalized logging method in class Logger:

def log(self, level, msg, *args):

I propose to add an additional method:

def logException(self, level, exc_info, msg, *args)

This should do the trick, I hope. The 0.4 version will include this method.

Regards

Vinay