日志补全
This commit is contained in:
@@ -11,7 +11,7 @@ namespace SHH.CameraService;
|
||||
/// </summary>
|
||||
public class CommandDispatcher
|
||||
{
|
||||
private static ILogger _gRpcLog = Log.ForContext("SourceContext", LogModules.gRpc);
|
||||
private ILogger _gRpcLog = Log.ForContext("SourceContext", LogModules.gRpc);
|
||||
private readonly Dictionary<string, ICommandHandler> _handlers;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -14,7 +14,7 @@ public class ParentProcessSentinel : BackgroundService
|
||||
{
|
||||
private readonly ServiceConfig _config;
|
||||
private readonly IHostApplicationLifetime _lifetime;
|
||||
private static ILogger _sysLog = Log.ForContext("SourceContext", LogModules.Core);
|
||||
private ILogger _sysLog = Log.ForContext("SourceContext", LogModules.Core);
|
||||
|
||||
/// <summary>
|
||||
/// 使用统一的结构化日志记录器,SourceContext 设置为 Core 模块
|
||||
|
||||
Reference in New Issue
Block a user