Click or drag to resize
Json.NET

ITraceWriterTrace 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#
void Trace(
	TraceLevel level,
	string message,
	Exception ex
)

Parameters

level
Type: System.DiagnosticsTraceLevel
The TraceLevel at which to write this trace.
message
Type: SystemString
The trace message.
ex
Type: SystemException
The trace exception. This parameter is optional.
See Also