vishalanandl177 / DRF-API-Logger

An API Logger for your Django Rest Framework project.
https://github.com/vishalanandl177/DRF-API-Logger
Apache License 2.0
308 stars 56 forks source link

✨ Log only selected response status code. #49

Closed Hassan-Elseoudy closed 2 years ago

Hassan-Elseoudy commented 2 years ago

Hello, I wanted to share snippet of code that can help other specifying only some response status code to be logged. In my example was 400, 409.

Please have a look over this, I think this can be so useful to others as well. @vishalanandl177

vishalanandl177 commented 2 years ago

Hi @Hassan-Elseoudy Let me test the library. Soon I'll release a new version with this improvement.

Hassan-Elseoudy commented 2 years ago

Hi @Hassan-Elseoudy Let me test the library. Soon I'll release a new version with this improvement.

Thank you, will be waiting!

vishalanandl177 commented 2 years ago

I'll release a new version soon.

gquittet commented 2 years ago

Hello @vishalanandl177, when this great feature will be available? 👍