[Python-ideas] Structured Error Output

Nick Coghlan ncoghlan at gmail.com
Thu Apr 26 06:07:38 CEST 2012

On Thu, Apr 26, 2012 at 12:44 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> (Although, having said that, I wish there was a stdinfo for
> informational messages that are neither the intended program output nor
> unintended program errors, e.g. status messages, progress indicators,
> etc.)

And, indeed, such a channel exists: it's called the logging system,
which separates event *generation* (calls to the logging message API)
from event *display* (configuration of logging handlers). In
particular, see the following table in the logging HOWTO guide:


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list