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

Documentation lacking around using context object to build custom logger module #425

Open
MrStLouis opened this issue Dec 2, 2020 · 1 comment

Comments

@MrStLouis
Copy link

I'm submitting a...


[ ] Regression 
[ ] Bug report
[ ] Feature request
[X] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

No documentation surrounding use of azure context which is greatly needed for setting up logging for azure functions

Expected behavior

Would love to see an example LoggerModule that can be used locally (default to console.log) or with azure func context (context.log)

What is the motivation / use case for changing the behavior?

Documentation surrounding this repository is very minimal, and outdated

@xro
Copy link

xro commented Aug 25, 2021

I support the request. Hard to find how to get to azure context across the nestjs app.
I know it can be obtained from @Req -> req.context but can it be provided by some context provider in modules definition?

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

No branches or pull requests

2 participants