[issue28443] Logger methods never use kwargs

Vinay Sajip report at bugs.python.org
Fri Oct 14 13:20:37 EDT 2016


Vinay Sajip added the comment:

Those signatures have **kwargs for potential extension of the logging API itself (without extending the existing argument list), not for passing arguments to filters.

You can already filter completely flexibly by passing additional values  in the "extra" parameter, which writes those to the LogRecord. This can  be inspected by filters in the same way as you propose, so there seems no reason to provide another way of doing this.

N.B. Removed larry from the nosy list, as he was apparently added by accident when the "Argument Clinic" component was selected in error.

----------
nosy:  -larry

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


More information about the Python-bugs-list mailing list