This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author numerodix
Recipients BreamoreBoy, Saimadhav.Heblikar, barry, numerodix, pitrou, rhettinger, vinay.sajip
Date 2014-08-17.14:19:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1408285190.46.0.281828190984.issue22195@psf.upfronthosting.co.za>
In-reply-to
Content
Would it make sense for the logging module to supply something like the LoggerWriter class you wrote? 

With a section in the documentation that says something like "have you been logging using print() this whole time? No problem, just do sys.stdout = LoggerWriter()"?
History
Date User Action Args
2014-08-17 14:19:50numerodixsetrecipients: + numerodix, barry, rhettinger, vinay.sajip, pitrou, BreamoreBoy, Saimadhav.Heblikar
2014-08-17 14:19:50numerodixsetmessageid: <1408285190.46.0.281828190984.issue22195@psf.upfronthosting.co.za>
2014-08-17 14:19:50numerodixlinkissue22195 messages
2014-08-17 14:19:50numerodixcreate