ONSdigital / dp-python-tools

Simple reusable python resources for digital publishing.
MIT License
1 stars 0 forks source link

889 HTTP logging #46

Closed nimshi89 closed 2 months ago

nimshi89 commented 4 months ago

What

Added an optional response argument to the logging functions. Link to list of expected values: https://github.com/ONSdigital/dp-standards/blob/main/LOGGING_STANDARDS.md Added functions to support the logging of responses to the utility.py Made the 'testing.py' so the method can be tested.

How to review

run a simple script with logging and add a response as an argument

Who can review

anyone