how to log query where asp.net core code example
Example: initialize ConsoleLoggerProvider in EF core
public static readonly ILoggerFactory factory
= LoggerFactory.Create(builder => { builder.AddConsole(); });
public static readonly ILoggerFactory factory
= LoggerFactory.Create(builder => { builder.AddConsole(); });