var serviceProvider = new ServiceCollection() .AddSingleton<ILogger, Log4netLogger>() .BuildServiceProvider(); //configure console logging
確定! 回上一頁