You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using TypeORM or Prisma, logging can be customized: there is a way to use the triggerId of the AsyncContext to find the AsyncResource in order to pass the request.id to the logger. This would require either changing the type of the AsyncResource, or a factory that allows developers to create AsyncResources in whatever form the developers want.
Prerequisites
🚀 Feature Proposal
index.js
Motivation
When using
TypeORM
orPrisma
, logging can be customized: there is a way to use the triggerId of the AsyncContext to find theAsyncResource
in order to pass the request.id to the logger. This would require either changing the type of the AsyncResource, or a factory that allows developers to create AsyncResources in whatever form the developers want.Example
The text was updated successfully, but these errors were encountered: