In .NET core 3.1, I have implemented a DbCommandInterceptor so that I can log the queries which EF is generating.
I have added the interceptor to my EF Context within