async-graphql
async-graphql copied to clipboard
Logger extension support for printing parts of context
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.