<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />

Newtonsoft.Json.Serialization.MemoryTraceWriter

Represents a trace writer that writes to memory. When the trace message limit is reached then old trace messages will be removed as new messages are added.
namespace Newtonsoft.Json.Serialization { }