axios-logger
axios-logger copied to clipboard
adding traceId and a more standardized format
- I've added the possibility to add a traceId to the log (globally or separate on request/response/error)
- Also change a little bit the format to make it more standardized:
[TEST][Request][05-04-2023 01:13:38.355][1324567890987654321] GET https://github.com/hg-pyun {\"id\":1,\"text\":\"this is dummy log\"} - aligned the tests
I'm terribly sorry for the late review! I will check and reflect it within next week.
Please write about traceId on
README.mdfile.
done ;)