-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Enable logging #53
Comments
Do you think current logging functionality is not enough or you didn't notice it? https://github.com/muratcorlu/connect-api-mocker#logging |
@muratcorlu |
Actually connect-api-mocker doesn't forward requests, just pass to the next middleware. So if you have another middleware that handles same url to go to real api it will be forwarded. But a convenient log message could be put to that line https://github.com/muratcorlu/connect-api-mocker/blob/master/index.js#L158 . Maybe something like |
@muratcorlu Thanks. |
Hey @muratcorlu
It would be nice if you could turn on logging, displaying informations like the request's url and what happend with it (json file loaded/ forwarded because no mock was found etc)
The text was updated successfully, but these errors were encountered: