axios-logger
axios-logger copied to clipboard
Beautify Axios Logging Messages
**Describe the bug** Set the data config to false : `setGlobalConfig({ data: false, });` With version 2.5.0 there was no error thrown when logging requests where the data field contained...
Fixes https://github.com/hg-pyun/axios-logger/issues/102
**Describe the bug** The response intercept is not producing logs **To Reproduce** Steps to reproduce the behavior: 1. run server.js 2. try going to test/post 3. Only request is printed...
**Describe the bug** Since #97, `axios-logger` can log full request URL, which is nice for user. However, it does not behave correct in some condition **To Reproduce** Steps to reproduce...
When logging the bodies of large requests or responses it would make sense to allow them to be limited to a certain size. Otherwise large bodies clutter the console without...
It is always frustrating when request/response contains a buffer. Dumping in console as is totally useless because of huge amount of data inside and causes a harder debug of other...
**Is your feature request related to a problem? Please describe.** This is a handy lib, ideally it would plug into a standard display format as used by grafana (formats in...
## Feature - Support Filtering data/head ```js const config = { dataFilter: regex headFilter: ['custom-header'] } ``` output ``` prefix url response-code filtered-head filtered-data ```
**Describe the bug** After upgrading ts-node to 10.8.1 , there is an error reported by axios logger . The error is not seen while on earlier versions of ts-node. **Versions**...