Skip to content

Commit

Permalink
日志处理
Browse files Browse the repository at this point in the history
  • Loading branch information
xljiulang committed Jan 18, 2022
1 parent 189ed2d commit 9c1ad66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FastGithub.UI/UdpLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private static int GetAvailableUdpPort(int minValue, AddressFamily addressFamily
var length = await taskCompletionSource.Task;

var json = Encoding.UTF8.GetString(buffer, 0, length);
var log= JsonConvert.DeserializeObject<UdpLog>(json);
var log = JsonConvert.DeserializeObject<UdpLog>(json);
if (log != null)
{
log.Message = log.Message.Replace("\"", null);
Expand Down

0 comments on commit 9c1ad66

Please sign in to comment.