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.
Description
The
gasket.loggercan 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 tores.locals.gasketLoggerautomatically by @gasket/plugin-log.Package(s): @gasket/plugin-log
AC: