Changes between Initial Version and Version 1 of Ticket #35357


Ignore:
Timestamp:
Apr 6, 2024, 4:34:26 AM (9 months ago)
Author:
Alexander Nestorov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35357 – Description

    initial v1  
    1010
    1111{{{
    12 logger.error("Foo failed. The bar object looked like this. Retrying with {xyz} thing", extra={
     12logger.error(f"Foo failed. The bar object looked like this. Retrying with {xyz} thing", extra={
    1313    "bar_object": bar_object
    1414})
    1515}}}
    1616
    17 I'm aware that I can create a custom logger inheriting from logging.Handler (or the several other ways this can be achieved), but IMHO this is such a basic features that it should be included in Django itself.
     17I'm aware that I can create a custom logger inheriting from `logging.Handler` (or the several other ways this can be achieved), but IMHO this is such a basic feature that it should be included in Django itself.
Back to Top