Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

interface Newtonsoft.​Json.​Serialization.​ITraceWriter

Assembly: Newtonsoft.Json

Represents a trace writer.

Properties

LevelFilter
Gets the <see cref="T:Newtonsoft.Json.TraceLevel" /> that will be used to filter the trace messages passed to the writer. For example a filter level of <see cref="F:Newtonsoft.Json.TraceLevel.Info" /> will exclude <see cref="F:Newtonsoft.Json.TraceLevel.Verbose" /> messages and include <see cref="F:Newtonsoft.Json.TraceLevel.Info" /> , <see cref="F:Newtonsoft.Json.TraceLevel.Warning" /> and <see cref="F:Newtonsoft.Json.TraceLevel.Error" /> messages.

Methods

void
Trace​(TraceLevel level, string message, System.​Exception ex)
Writes the specified trace level, message and optional exception.
level The <see cref="T:Newtonsoft.Json.TraceLevel" /> at which to write this trace.
message The trace message.
ex The trace exception. This parameter is optional.