From 36a2e842762d545f13474855b3f34089c965c84b Mon Sep 17 00:00:00 2001 From: Haegul Pyun Date: Sun, 30 Jun 2019 00:19:06 +0900 Subject: [PATCH] Add ci badge (#25) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ec6677d..b23a444 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,9 @@ # axios-logger + [![npm](https://img.shields.io/npm/v/axios-logger.svg)](https://www.npmjs.com/package/axios-logger) [![npm](https://img.shields.io/npm/dm/axios-logger.svg)](https://www.npmjs.com/package/axios-logger) [![GitHub license](https://img.shields.io/github/license/hg-pyun/axios-logger.svg)](https://github.com/hg-pyun/axios-logger/blob/master/LICENSE) +[![CircleCI](https://circleci.com/gh/hg-pyun/axios-logger/tree/master.svg?style=svg)](https://circleci.com/gh/hg-pyun/axios-logger/tree/master) > Beautify Axios Logging Messages. @@ -76,7 +78,7 @@ instance.interceptors.response.use(AxiosLogger.responseLogger, AxiosLogger.error Also if you want to use your own interceptor, you can compose(mixin) with `errorLogger`. ```javascript -instance.interceptors.response.use(AxiosLogger.responseLogger, (err) =>{ +instance.interceptors.response.use(AxiosLogger.responseLogger, (err) => { // write down your error intercept. return AxiosLogger.errorLogger(err); });