|
|
@@ -10,7 +10,7 @@ namespace HKLog |
|
|
|
//日志 |
|
|
|
Log.Logger = new LoggerConfiguration() |
|
|
|
.MinimumLevel.Information() |
|
|
|
.WriteTo.File($"Logs/{input}.log", rollingInterval: RollingInterval.Day) |
|
|
|
.WriteTo.File($"D:\\HK刷卡端正式环境\\Logs\\{input}.log", rollingInterval: RollingInterval.Day) |
|
|
|
.CreateLogger(); |
|
|
|
} |
|
|
|
public static void WriteInfo(string msg) |
|
|
|