Log the Mongo Queries that are executed based on the business logic into console or log file.
ASP.net Core, Mongo Client, Mongo DB, LINQ.
I want this for Understanding how my queries are translated and executed on the mongo. This will help in fixing the performance issue, if any.