Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment: The existing LoggerAdapter functionality has been around since Jan 2008, and it seems that no one in that time has raised this as a must-have. In summary:
1. If you want to pass different kwargs in every time, use a logger. 2. If you want to pass particular contextual information in which fits the "extra" parameter approach, use a LoggerAdapter. 3. If that doesn't do it for you, subclass LoggerAdapter and implement what you need. You haven't really explained why you need this to work in this particular way, so I suspect it could be an XY problem. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32732> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com