log entity framework core queries 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(); });