[New-bugs-announce] [issue25344] Enhancement to Logging - Logging Stack

David Silverman report at bugs.python.org
Thu Oct 8 19:05:58 CEST 2015


New submission from David Silverman:

It would be useful to have the ability to push logs onto a stack. This way you can log events to the stack. If an error occurred, you could pop the stack and output the log events. If no error occurred, you could pop the stack and discard the logs.

An example would be when you call a function it could push logs onto the log stack as the function is executing. If an error is encountered, you can pop/output the logs to provide more details. But, if no error is encountered, the detailed logs can be popped and discarded.

----------
components: Library (Lib)
messages: 252557
nosy: dasilver at cisco.com
priority: normal
severity: normal
status: open
title: Enhancement to Logging - Logging Stack
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25344>
_______________________________________


More information about the New-bugs-announce mailing list