WebHostTraceWriter Class

 

This ITraceWriter implementation writes system logs to the file system using the SystemTraceWriter as well as user traces to the TraceListener configured for this host.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.Diagnostics
Assembly:  Microsoft.WindowsAzure.Mobile.Service.WebHost (in Microsoft.WindowsAzure.Mobile.Service.WebHost.dll)

System.Object
  System.Web.Http.Tracing.SystemDiagnosticsTraceWriter
    Microsoft.WindowsAzure.Mobile.Service.Diagnostics.ServiceTraceWriter
      Microsoft.WindowsAzure.Mobile.Service.Diagnostics.WebHostTraceWriter

Public Class WebHostTraceWriter
	Inherits ServiceTraceWriter
	Implements IDisposable

NameDescription
System_CAPS_pubmethodWebHostTraceWriter(IServiceSettingsProvider)

Initializes a new instance of the WebHostTraceWriter class.

System_CAPS_pubmethodWebHostTraceWriter(IServiceSettingsProvider, SystemTraceWriter)

Initializes a new instance of the WebHostTraceWriter class.

NameDescription
System_CAPS_pubpropertyIsVerbose
System_CAPS_pubpropertyMinimumLevel
System_CAPS_pubpropertyMinimumSystemLevel

The minimum TraceLevel we log for system trace messages that go to MDS. The level of system logs is maintained separately from user logs. The level for user logs is provided by ConfigOptions by the user. For both system logs and user logs, the value is one of Fatal, Error, Warn, Info, Debug, and Off.

System_CAPS_pubpropertyTraceSource

NameDescription
System_CAPS_pubmethodDispose()

System_CAPS_protmethodDispose(Boolean)

Disposes managed and native resources.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodFormat(TraceRecord)

(Inherited from ServiceTraceWriter.)

System_CAPS_pubmethodFormatDateTime(DateTime)
System_CAPS_pubmethodFormatRequestEnvelope(TraceRecord)
System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodIsApplicationTrace(String)

Determines whether a category is a application category by checking that the trace does not start with any of the excluded category prefixes.(Inherited from ServiceTraceWriter.)

System_CAPS_protmethodIsSystemTrace(String)

Determines whether a category is a system category.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSetExcludedCategoryPrefixes(IEnumerable(Of String))

Updates the set of category prefixes to exclude from user logging. Each trace has a "Category" indicating the origin (i.e. the "source") of the trace. An application may use the LogCategories as suggested categories, or simply leave out the category which will use the value provided by the CallerMemberNameAttribute. A log with a category that matches any of the excluded prefixes will not get logged.(Inherited from ServiceTraceWriter.)

System_CAPS_pubmethodStart()

Initializes this WebHostTraceWriter instance.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTrace(HttpRequestMessage, String, TraceLevel, Action(Of TraceRecord))
System_CAPS_pubmethodTranslateHttpResponseException(TraceRecord)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: