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

ITraceWriter

public interface ITraceWriter
Represents a trace writer.
using System; using System.Diagnostics; using System.Runtime.CompilerServices; namespace Newtonsoft.Json.Serialization { [System.Runtime.CompilerServices.NullableContext(1)] public interface ITraceWriter { TraceLevel LevelFilter { get; } void Trace(TraceLevel level, string message, [System.Runtime.CompilerServices.Nullable(2)] Exception ex); } }