axios-debug-log
JSON →Axios interceptor that logs HTTP request and response details using the debug library. Version 1.0.0 supports axios >= 1.0.0, ships TypeScript types, and works in both Node.js and browser environments. The main entry sets up interception and activates logging when the DEBUG environment variable is set to 'axios'. An alternative entry ('axios-debug-log/enable') activates logging immediately without requiring environment variables. Compared to other logging interceptors, it leverages the popular debug library for namespaced, toggleable output and minimal overhead.
Resources
packageaxios-debug-log ↗