azure-func-http
azure-func-http copied to clipboard
Documentation lacking around using context object to build custom logger module
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
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?