Serializer.LogTraceWriter Class
Definition
Section titled “Definition”A simple log writer that helps debug the JSON serialization.
public class Serializer.LogTraceWriter : ITraceWriterInheritance object
Implements Newtonsoft.Json.Serialization.ITraceWriter
Constructors
Section titled “Constructors”LogTraceWriter()
Section titled “LogTraceWriter()”public LogTraceWriter()Fields
Section titled “Fields”THe string containing the log.
public readonly StringBuilder LogProperties
Section titled “Properties”LevelFilter
Section titled “LevelFilter”THe level filter for the log.
public TraceLevel LevelFilter { get; }Methods
Section titled “Methods”Trace(TraceLevel, string, Exception?)
Section titled “Trace(TraceLevel, string, Exception?)”Captures a JSON log event.
public void Trace(TraceLevel level, string message, Exception? ex)Parameters
Section titled “Parameters”level TraceLevel
The log level.
message string
The message.
ex Exception
The exception associated with the log event.