Ver código fonte

调整日志记录

develop
H Vs 7 meses atrás
pai
commit
0d59422689
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs

+ 1
- 1
GpsCardGatewayPosition.Service/Biz/Location/WayzService.cs Ver arquivo

@@ -208,7 +208,7 @@ namespace GpsCardGatewayPosition.Service.Biz.Location
wayzOriginalInputLog = $"{nameof(GetWayzWifiAddressAsync)}维智请求原始报文: {JsonConvert.SerializeObject(model)}";
_logger.LogInformation(wayzOriginalInputLog);
result = await _httpHelper.HttpToPostAsync(url, model).ConfigureAwait(false);
var resultText = result.Length >= 2000 ? result.Substring(0, 2000) : result;
var resultText = result.Length >= 2000 ? result.Substring(0, 2000) + "..." : result;
wayzOriginalOutputLog = $"{nameof(GetWayzWifiAddressAsync)}维智返回原始报文: {resultText}";
_logger.LogInformation(wayzOriginalOutputLog);



Carregando…
Cancelar
Salvar