ef core logging sql 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(); });