Skip to content

Commit bf39f29

Browse files
committed
feat: 增加调试信息日志
1 parent 966426e commit bf39f29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extensions/BootstrapBlazor.Socket/DataConverter/DataConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ protected virtual bool Parse(ReadOnlyMemory<byte> data, TEntity entity)
8484
}
8585
else
8686
{
87-
SocketLogging.LogInformation($"{nameof(Parse)} failed. Data: {BitConverter.ToString(data.ToArray())}. Start: {attr.Offset}. Length: {attr.Length}. Can't convert value from {GetValueType(valueType)} to {p.PropertyType}");
87+
SocketLogging.LogInformation($"{nameof(Parse)} failed. Start: {attr.Offset}. Length: {attr.Length}. Can't convert value from {GetValueType(valueType)} to {p.Name}({p.PropertyType})");
8888
}
8989
}
9090
}

0 commit comments

Comments
 (0)