[Python-ideas] Logging Levels

Mike Miller python-ideas at mgmiller.net
Tue Nov 28 14:56:39 EST 2017


Yes, I remember now.  However, it still outputs with the level name of critical:

 >>> logging.fatal('hello')

CRITICAL:root:hello



On 2017-11-28 11:52, Mario Corchero wrote:
> 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>
> 


More information about the Python-ideas mailing list