|
@ -3,7 +3,7 @@ using Microsoft.AspNetCore.Hosting; |
|
|
using Microsoft.Extensions.Configuration; |
|
|
using Microsoft.Extensions.Configuration; |
|
|
using Microsoft.Extensions.Hosting; |
|
|
using Microsoft.Extensions.Hosting; |
|
|
using Serilog; |
|
|
using Serilog; |
|
|
using Win.Sfs.SettleAccount.influxdb; |
|
|
using Serilog.Settings.Configuration; |
|
|
|
|
|
|
|
|
namespace Win.Sfs.SettleAccount; |
|
|
namespace Win.Sfs.SettleAccount; |
|
|
|
|
|
|
|
@ -27,7 +27,7 @@ public class Program |
|
|
//}
|
|
|
//}
|
|
|
|
|
|
|
|
|
Log.Logger = new LoggerConfiguration() |
|
|
Log.Logger = new LoggerConfiguration() |
|
|
.ReadFrom.Configuration(configuration) |
|
|
.ReadFrom.Configuration(configuration, ConfigurationAssemblySource.AlwaysScanDllFiles) |
|
|
.WriteTo.Async(c => c.Console()) |
|
|
.WriteTo.Async(c => c.Console()) |
|
|
.CreateLogger(); |
|
|
.CreateLogger(); |
|
|
|
|
|
|
|
|