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