This commit is contained in:
@@ -35,6 +35,7 @@ namespace AyaNova
|
||||
#region Initialize Logging
|
||||
//NOTE: there is a logging issue that breaks all this with .net 3.1 hostbuilder vs webhostbuilder but webhostbuilder will be deprecated so we need to work around it
|
||||
//the discussion about that is here: https://github.com/aspnet/AspNetCore/issues/9337
|
||||
//I think I worked around it
|
||||
|
||||
//NLOG OFFICIAL GUIDELINES FOR .net core 3.x https://github.com/NLog/NLog/wiki/Getting-started-with-ASP.NET-Core-3
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace AyaNova
|
||||
|
||||
private readonly ILogger _newLog;
|
||||
|
||||
private readonly ILogger<Startup>x_log;
|
||||
// private readonly ILogger<Startup>x_log;
|
||||
private string _connectionString = "";
|
||||
private readonly Microsoft.AspNetCore.Hosting.IWebHostEnvironment _hostingEnvironment;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user