axios-logger icon indicating copy to clipboard operation
axios-logger copied to clipboard

adding traceId and a more standardized format

Open CyberDracula opened this issue 2 years ago • 2 comments

  • 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

CyberDracula avatar Apr 04 '23 22:04 CyberDracula

I'm terribly sorry for the late review! I will check and reflect it within next week.

hg-pyun avatar Apr 25 '23 11:04 hg-pyun

Please write about traceId on README.md file.

done ;)

CyberDracula avatar Jun 29 '23 23:06 CyberDracula