优化,去掉原来兼容考虑的逻辑
This commit is contained in:
@@ -490,6 +490,8 @@ namespace dy.net.extension
|
||||
/// </summary>
|
||||
public static void ConfigureLogging(this WebApplicationBuilder builder)
|
||||
{
|
||||
builder.Host.ConfigureLogging(logging => logging.ClearProviders())
|
||||
.UseSerilog();
|
||||
string dateFile = "";// DateTime.Now.ToString("yyyyMMdd");
|
||||
|
||||
Log.Logger = new LoggerConfiguration()
|
||||
|
||||
Reference in New Issue
Block a user