Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ITraceWriterExtensions Methods

The ITraceWriterExtensions type exposes the following members.

  Name Description
Public method Static member Debug(ITraceWriter, HttpRequestMessage, String, Exception) Provides a set of methods and properties that help debug your code with the specified writer, request, category and exception.
Public method Static member Debug(ITraceWriter, HttpRequestMessage, String, String, Object[]) Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument.
Public method Static member Debug(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[]) Provides a set of methods and properties that help debug your code with the specified writer, request, category, exception, message format and argument.
Public method Static member Error(ITraceWriter, HttpRequestMessage, String, Exception) Displays an error message in the list with the specified writer, request, category and exception.
Public method Static member Error(ITraceWriter, HttpRequestMessage, String, String, Object[]) Displays an error message in the list with the specified writer, request, category, message format and argument.
Public method Static member Error(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[]) Displays an error message in the list with the specified writer, request, category, exception, message format and argument.
Public method Static member Fatal(ITraceWriter, HttpRequestMessage, String, Exception) Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and exception.
Public method Static member Fatal(ITraceWriter, HttpRequestMessage, String, String, Object[]) Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and message format and argument.
Public method Static member Fatal(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[]) Displays an error message in the ITraceWriterExtensions class with the specified writer, request, category and exception, message format and argument.
Public method Static member Info(ITraceWriter, HttpRequestMessage, String, Exception) Displays the details in the [System.Web.Http.Tracing.ITraceWriterExtensions].
Public method Static member Info(ITraceWriter, HttpRequestMessage, String, String, Object[]) Displays the details in the [System.Web.Http.Tracing.ITraceWriterExtensions].
Public method Static member Info(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[]) Displays the details in the [System.Web.Http.Tracing.ITraceWriterExtensions].
Public method Static member Trace(ITraceWriter, HttpRequestMessage, String, TraceLevel, Exception) Indicates the trace listeners in the Listeners collection.
Public method Static member Trace(ITraceWriter, HttpRequestMessage, String, TraceLevel, String, Object[]) Indicates the trace listeners in the Listeners collection.
Public method Static member Trace(ITraceWriter, HttpRequestMessage, String, TraceLevel, Exception, String, Object[]) Indicates the trace listeners in the Listeners collection.
Public method Static member TraceBeginEnd Traces both a begin and an end trace around a specified operation.
Public method Static member TraceBeginEndAsync(ITraceWriter, HttpRequestMessage, String, TraceLevel, String, String, Action<TraceRecord>, Func<Task>, Action<TraceRecord>, Action<TraceRecord>) Traces both a begin and an end trace around a specified operation.
Public method Static member TraceBeginEndAsync<TResult>(ITraceWriter, HttpRequestMessage, String, TraceLevel, String, String, Action<TraceRecord>, Func<Task<TResult>>, Action<TraceRecord, TResult>, Action<TraceRecord>) Traces both a begin and an end trace around a specified operation.
Public method Static member Warn(ITraceWriter, HttpRequestMessage, String, Exception) Indicates the warning level of execution.
Public method Static member Warn(ITraceWriter, HttpRequestMessage, String, String, Object[]) Indicates the warning level of execution.
Public method Static member Warn(ITraceWriter, HttpRequestMessage, String, Exception, String, Object[]) Indicates the warning level of execution.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.