Comments (8)
Hi @mirfilip. When I first created this library, I directed zero config. However, I'm adding options for other requirements. Your idea is good. I will develop it next step!
Thank you :)
from axios-logger.
I think this is a great idea. I use winston for logging in my Express app and allowing for custom logging implementations would help the request/response logs fit in with the rest of the logging. Maybe console.log
can be reduced to a fallback logger?
from axios-logger.
Same here.
Using winston to log to multiple targets like console, log files and syslog.
Looking forward to see the possibilty to add custom logging function. Also for errors.
from axios-logger.
@Fylipp I totally agree! I will develop that feature soon. Thank you very much.
from axios-logger.
@filiphoeven Thank you for feedback. I wanted to develop it quickly, but I was too busy these days. Now that I have some leeway, add it.
from axios-logger.
Hey! Any updates on this? Is there something I can help with? 👍
from axios-logger.
Hi! I came across this library which I find very useful but this is the main reason why I cannot use it. Are you planning to develop this anytime soon? Is there anything I can help with?
EDIT: I've just pushed a PR. I'm using this in my project and it works! hope it helps! #62
from axios-logger.
I think the easiest would be to just expose printLog
option, which accepts a function that prints the log.
from axios-logger.
Related Issues (20)
- baseUrl behavior does not correct HOT 2
- data is stringified even though data is set to false HOT 2
- Release Plan 2.6.1 HOT 1
- 同学,您这个项目引入了556个开源组件,存在6个漏洞,辛苦升级一下 HOT 1
- Axios response intercept not working HOT 1
- Converting circular structure to JSON error with ts-node upgrade HOT 3
- Why should we bind this to a custom logger? it should be the logger object itself right?
- Support axios >= 1.3.0 HOT 13
- URLSearchParams not shown in log HOT 1
- Update library version 3.0.0
- TypeScript complains about .use(AxiosLogger.requestLogger) HOT 14
- Update Jest Version HOT 2
- Support Dual Package HOT 2
- `combineURLs` fails when `baseURL` is a relative path HOT 1
- Option to remove colors HOT 2
- How to log error request body? HOT 2
- `combineURLs` produces wrong absolute URL when `baseURL` has `path` part HOT 3
- V2.8.0 Introduces incompatibilities with web and react native HOT 5
- Axios baseURL is ignored HOT 1
- Release 2.6.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axios-logger.