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

Make Gasket Logger accessible to request code #292

Open
kinetifex opened this issue Aug 27, 2021 · 0 comments
Open

Make Gasket Logger accessible to request code #292

kinetifex opened this issue Aug 27, 2021 · 0 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@kinetifex
Copy link
Contributor

Description

The gasket.logger can be useful to add logging to requests and middleware but currently requires developers to do extra work to make it available to these areas of their apps. We should provide a common way to access the configured Gasket Logger by attaching it to res.locals.gasketLogger automatically by @gasket/plugin-log.

Package(s): @gasket/plugin-log

AC:

  • Ability to access the gasket logger in for request in route and middleware code.
@rxmarbles rxmarbles added enhancement New feature or request hacktoberfest labels Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants