Json.NET Documentation
Json.NET Documentation
API Reference
Newtonsoft.Json.Serialization
DiagnosticsTraceWriter Class
DiagnosticsTraceWriter Methods
Trace Method
DiagnosticsTraceWriter
Trace Method
Writes the specified trace level, message and optional exception.
Namespace:
Newtonsoft.Json.Serialization
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
Copy
public
void
Trace
(
TraceLevel
level
,
string
message
,
Exception
ex
)
Parameters
level
Type:
System.Diagnostics
TraceLevel
The
TraceLevel
at which to write this trace.
message
Type:
System
String
The trace message.
ex
Type:
System
Exception
The trace exception. This parameter is optional.
Implements
ITraceWriter
Trace(TraceLevel, String, Exception)
See Also
Reference
DiagnosticsTraceWriter Class
Newtonsoft.Json.Serialization Namespace
Json.NET Home