Skip to content

feat: Support providing a dynamic context#24

Merged
ikhemissi merged 1 commit intomasterfrom
support-fetching-dynamic-context
Feb 23, 2021
Merged

feat: Support providing a dynamic context#24
ikhemissi merged 1 commit intomasterfrom
support-fetching-dynamic-context

Conversation

@ikhemissi
Copy link
Copy Markdown
Contributor

Support the integration with async_hooks by providing a logger.addContext function to pass a dynamic context fetcher, which will be called on every log.

Support the integration with [async_hooks](https://nodejs.org/docs/latest/api/async_hooks.html) by providing a `logger.addContext` function to pass a dynamic context fetcher, which will be called on every log.
@ikhemissi ikhemissi merged commit d343b1c into master Feb 23, 2021
@ikhemissi ikhemissi deleted the support-fetching-dynamic-context branch February 23, 2021 21:00
5app-Machine added a commit that referenced this pull request Feb 23, 2021
# [2.2.0](v2.1.0...v2.2.0) (2021-02-23)

### Features

* Support providing a dynamic context ([#24](#24)) ([d343b1c](d343b1c))
@5app-Machine
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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 this pull request may close these issues.

2 participants