async-graphql icon indicating copy to clipboard operation
async-graphql copied to clipboard

Logger extension support for printing parts of context

Open fayalalebrun opened this issue 1 year ago • 0 comments

Description of the feature

With the Logger it can sometimes be useful to log certain parts of the context defined by the user. For example, user id or permission level.

I am wondering about a good way to implement this. Perhaps the user could pass a function which returns a string given the context. Looking for feedback on this point.

fayalalebrun avatar Jun 11 '24 11:06 fayalalebrun