8000 Add debug logs before and after each middleware executes · Issue #108 · koajs/compose · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add debug logs before and after each middleware executes #108

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

Closed
imaustink opened this issue Dec 5, 2020 · 1 comment
Closed

Add debug logs before and after each middleware executes #108

imaustink opened this issue Dec 5, 2020 · 1 comment

Comments

@imaustink
Copy link

It would be extremely useful for debugging purposes if koa-compose logged the name of each middleware before and after it executed.

I propose adding the debug packaging and configuration a namespace of koa:compose to match Koa's convention and using it implement the aforementioned logs.

@jonathanong
Copy link
Member
jonathanong commented Aug 18, 2021

you don't want to just add debug logs. the real solution is #6, which would make it configurable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0