feat(http): add configurable debug logging to HTTP client by rwjblue · Pull Request #9 · gleanwork/glean-cli

scalvert

@rwjblue

Adds a debug logging system to the HTTP client with configurable
verbosity levels (0-3) controlled by the GLEAN_HTTP_DEBUG environment
variable or passing `-v`,`-vv`, `-vvv` to the command invocation (both
work the same).

- Level 1: Basic request/response info
- Level 2: Detailed info including headers
- Level 3: Full request/response including bodies