2.0.5 • Published 1 year ago
keq-debug v2.0.5
Log keq request Infomation to console.
Usage
import { request } from "keq";
import debug from "keq-debug";
request.use(debug());
// Set Options
request.use(debug({ requestBody: false, responseBody: false }));Options
| Option | Default | Description |
|---|---|---|
requestBody | false | Log the request body. |
responseBody | false | Log the response body. |
Contributing & Development
If there is any doubt, it is very welcome to discuss the issue together.