Skip to content

keq-request/keq-debug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

KEQ-DEBUG

version downloads license dependencies

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.