public void UseLoggingTest() { var moq = new Mock <IHostBuilder>(); var result = SeriLogExtensions.UseLogging(moq.Object); Assert.IsNotNull(result); }
public Startup(IConfiguration configuration) { Configuration = configuration; SeriLogExtensions.ConfigureSeriLog("ERPUI"); if (!Directory.Exists(Path.Combine(Directory.GetCurrentDirectory(), "Logs"))) { Directory.CreateDirectory(Path.Combine(Directory.GetCurrentDirectory(), "Logs")); } }