优化任务日志

This commit is contained in:
不做码农
2021-12-25 14:42:20 +08:00
parent 27efa6309f
commit cae6444d96
6 changed files with 64 additions and 47 deletions

View File

@@ -6,7 +6,6 @@ namespace ZR.Tasks
/// <summary>
/// 定时任务测试
/// </summary>
//[AppService(ServiceLifetime = LifeTime.Scoped)]
public class Job_SyncTest : JobBase, IJob
{
//private readonly NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
@@ -21,7 +20,6 @@ namespace ZR.Tasks
await Task.Delay(1);
//TODO 业务逻辑
//throw new System.Exception("error");
}
}
}