[Python-ideas] Logging Levels

Guido van Rossum guido at python.org
Tue Nov 28 14:57:52 EST 2017

On Tue, Nov 28, 2017 at 11:52 AM, Mario Corchero <mariocj89 at gmail.com>

> Not sure if that is what you meant, but here is already "FATAL" which is
> indeed an alias of CRITICAL:
> >>> logging.FATAL
> 50
> >>> logging.fatal
> <function critical at 0x7f870b9edaa0>

Maybe it should just go the other way around, making critical an alias for
fatal, and switching them around in the docs? No code will be invalidated
but it will encourage people to use the simpler, more direct term.

--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171128/74b1ab05/attachment.html>

More information about the Python-ideas mailing list