C# Class Newtonsoft.Json.Serialization.DiagnosticsTraceWriter

Represents a trace writer that writes to the application's TraceListener instances.
Inheritance: ITraceWriter
Afficher le fichier Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Méthodes publiques

Méthode Description
Trace ( TraceLevel level, string message, Exception ex ) : void

Writes the specified trace level, message and optional exception.

Private Methods

Méthode Description
GetTraceEventType ( TraceLevel level ) : TraceEventType

Method Details

Trace() public méthode

Writes the specified trace level, message and optional exception.
public Trace ( TraceLevel level, string message, Exception ex ) : void
level TraceLevel The at which to write this trace.
message string The trace message.
ex System.Exception The trace exception. This parameter is optional.
Résultat void