规范并补充日志内容
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
namespace SHH.CameraSdk;
|
||||
using Ayay.SerilogLogs;
|
||||
using Serilog;
|
||||
|
||||
namespace SHH.CameraSdk;
|
||||
|
||||
/// <summary>
|
||||
/// 帧控制器(混合模式最终版)
|
||||
@@ -8,6 +11,8 @@
|
||||
/// </summary>
|
||||
public class FrameController
|
||||
{
|
||||
private static ILogger _sysLog = Log.ForContext("SourceContext", LogModules.Core);
|
||||
|
||||
// 需求字典
|
||||
private readonly ConcurrentDictionary<string, FrameRequirement> _requirements = new();
|
||||
|
||||
@@ -68,7 +73,7 @@ public class FrameController
|
||||
// 2. 从积分累加器中移除(防止内存泄漏)
|
||||
_accumulators.TryRemove(appId, out _);
|
||||
|
||||
Console.WriteLine($"[Scheduler] 已从调度中心彻底移除 AppId: {appId}");
|
||||
_sysLog.Warning($"[Core] 帧控制器已从调度中心彻底移除 AppId: {appId}");
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user