Class ProtoTraceValueFormatter

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

Serializes a value into compact, cycle-safe, redacted JSON for trace attributes. Shared so every integration renders diagnostic values the same way.

public static class ProtoTraceValueFormatter
Inheritance
ProtoTraceValueFormatter
Inherited Members

Methods

Serialize(object?)

public static string? Serialize(object? value)

Parameters

value object

Returns

string