/// <summary> /// LogsNotify /// </summary> /// <param name="bytes"></param> private void LogsNotify(Byte[] bytes) { //解析数据 LogsNotifyProtobuf logsNotifyProtobuf; try { logsNotifyProtobuf = LogsNotifyProtobuf.Parser.ParseFrom(bytes); }catch (Exception exception) { LoggerModuleHelper.TryLog( "Modules.WebSocketControlModule.LogsNotify[Error]", $"解析数据包时异常,{exception.Message}\n异常堆栈:{exception.StackTrace}"); return; } //调用 NotifyHelper.Logs(logsNotifyProtobuf); }