Add logging to ef 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(); });