System.Web.Http.Tracing
This static class contains helper methods related to the registration of instances.
Creates and registers an implementation to use for this application.
The which was created and registered.
The for which to register the created trace writer.
Implementation of that traces to
Initializes a new instance of the class.
Formats the contents of the given into a single string containing comma-separated name-value pairs for each property.
A string containing comma-separated name-value pairs.
The from which to produce the result.
Formats a for the trace.
The formatted as a string
The
Formats the given into a string describing either the initial receipt of the incoming request or the final send of the response, depending on .
A string containing comma-separated name-value pairs.
The from which to produce the result.
Gets or sets a value indicating whether the formatted message should be the verbose format, meaning it displays all fields of the .
truefalsefalse
Gets or sets the minimum trace level.
Writes a trace to if the level is greater than or equal .
The associated with this trace. It may be null but the resulting trace will contain no correlation ID.
The category for the trace. This can be any user-defined value. It is not interpreted by this implementation but is written to the trace.
The of this trace. If it is less than , this trace request will be ignored.
The user callback to invoke to fill in a with additional information to add to the trace.
Gets or sets the to which the traces will be sent.
null
Examines the given to determine whether it contains an and if so, modifies the to capture more detailed information.
The to examine and modify.