A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021563.html below:

[Python-Dev] Re: PEP 282 comments

[Python-Dev] Re: PEP 282 comments [Python-Dev] Re: PEP 282 commentsVinay Sajip vinay_sajip@red-dove.com
Thu, 21 Mar 2002 13:24:44 -0000
[Guido]
> I'd like to call YAGNI on this.  Also on the idea of being able to
> pass an exception to all logging levels.  Also on the idea of passing
> the exc_info in rather than having the logger call sys.exc_info().
>
> Instead, the logger should be subclassable or extensible so that
> Jeremy can implement this functionality if he really wants it.
>
> KISS.
Amen to that. As to Logger extensibility - I will add a
setLoggerClass(klass) which tells the getLogger() [a factory method] which
class to use when instantiating a logger.

Regards,


Vinay Sajip




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4