[Python-Dev] Proposed change to logging (original) (raw)
Guido van Rossum guido at python.org
Wed Aug 25 17:34:40 CEST 2004
- Previous message: [Python-Dev] Proposed change to logging
- Next message: [Python-Dev] Simple coroutines?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/)
- Previous message: [Python-Dev] Proposed change to logging
- Next message: [Python-Dev] Simple coroutines?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]