Skip to content
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

error, warn, info, and verbose log functions are not bind to the sanitized context #27

Open
mcamacho021 opened this issue Feb 2, 2019 · 2 comments · May be fixed by #29
Open

error, warn, info, and verbose log functions are not bind to the sanitized context #27

mcamacho021 opened this issue Feb 2, 2019 · 2 comments · May be fixed by #29
Labels

Comments

@mcamacho021
Copy link

Observed that the error, warn, info and verbose are removed from the context when the context object is sanitized to remove the "done" function.

The _extends() function in the IncomingMessage file is removing these functions. Only the "log" function is available in the context object.

It would be nice if we could use these log level functions.

Context object before sanitized;
image

Context object after sanitized:
image

@SwapnilBhosale
Copy link

Hey, I am also facing this issue. When we can expect this issue to be fixed ?
Is there any workaround ?

@SwapnilBhosale
Copy link

SwapnilBhosale commented Feb 13, 2019

Created PR #29 Please merge and publish new version

@yvele yvele added the bug label Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants