[Python-Dev] Re: PEP 282 comments (original) (raw)
Vinay Sajip vinay_sajip@red-dove.com
Thu, 21 Mar 2002 01:04:14 -0000
- Previous message: [Python-Dev] Re: PEP 282 comments
- Next message: [Python-Dev] Re: PEP 282 comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I really like the shorthands for log levels, e.g. logger.debug() instead of logger.log(DEBUG, ...). So I'd be disappointed if I couldn't use it when I want to log an exception. Would you be happy with a parallel set of xxxException() methods for each of the convenience methods debug(), info() etc? These are easy to provide, library module size is the only real issue.
Regards
Vinay
- Previous message: [Python-Dev] Re: PEP 282 comments
- Next message: [Python-Dev] Re: PEP 282 comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]