Browse Source

日志

Lishi
xxe 2 years ago
parent
commit
a75bf6add1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      HKLog/HKLogImport.cs

+ 1
- 1
HKLog/HKLogImport.cs View File

@@ -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)


Loading…
Cancel
Save