📜  在 EF 核心中初始化 ConsoleLoggerProvider - C# 代码示例

📅  最后修改于: 2022-03-11 14:49:06.505000             🧑  作者: Mango

代码示例1
public static readonly ILoggerFactory factory 
    = LoggerFactory.Create(builder => { builder.AddConsole(); });