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/2004-August/048369.html below:

[Python-Dev] Proposed change to logging

[Python-Dev] Proposed change to logging [Python-Dev] Proposed change to loggingGuido van Rossum guido at python.org
Wed Aug 25 17:34:40 CEST 2004
> I'm really more interested in providing a compatible file-like (i.e.
> write()) interface to logging objects.  There are a lot of APIs in the
> world that are written to accept file-like objects and it would be nice
> to be able to pass logging objects directly to them, without having to
> first make a detour with StringIO.  I don't really care too much about
> the actual implementation of it all.

Hm.  So would you turn each separate line into a log message?  When
you write a partial line, it needs to be buffered somewhere until you
see the newline.

--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

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