axios-response-logger icon indicating copy to clipboard operation
axios-response-logger copied to clipboard

:mega: Axios interceptor which logs responses

axios-response-logger npm version Build Status

An interceptor which logs responses

success response error response

Installing

npm install axios-response-logger --save

Usage

Simply require / import the library as part of your bootstrapping (before your requests).

// es5
require('axios-response-logger');

// es6
import 'axios-response-logger';

Running Tests

npm test