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.
Assembly: Microsoft.WindowsAzure.Mobile.Service.WebHost (in Microsoft.WindowsAzure.Mobile.Service.WebHost.dll)
System.Web.Http.Tracing.SystemDiagnosticsTraceWriter
Microsoft.WindowsAzure.Mobile.Service.Diagnostics.ServiceTraceWriter
Microsoft.WindowsAzure.Mobile.Service.Diagnostics.WebHostTraceWriter
| Name | Description | |
|---|---|---|
![]() | WebHostTraceWriter(IServiceSettingsProvider) | Initializes a new instance of the WebHostTraceWriter class. |
![]() | WebHostTraceWriter(IServiceSettingsProvider, SystemTraceWriter) | Initializes a new instance of the WebHostTraceWriter class. |
| Name | Description | |
|---|---|---|
![]() | IsVerbose | (Inherited from SystemDiagnosticsTraceWriter.) |
![]() | MinimumLevel | (Inherited from SystemDiagnosticsTraceWriter.) |
![]() | MinimumSystemLevel | 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. |
![]() | TraceSource | (Inherited from SystemDiagnosticsTraceWriter.) |
| Name | Description | |
|---|---|---|
![]() | Dispose() | |
![]() | Dispose(Boolean) | Disposes managed and native resources. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | Format(TraceRecord) | (Inherited from ServiceTraceWriter.) |
![]() | FormatDateTime(DateTime) | (Inherited from SystemDiagnosticsTraceWriter.) |
![]() | FormatRequestEnvelope(TraceRecord) | (Inherited from SystemDiagnosticsTraceWriter.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsApplicationTrace(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.) |
![]() | IsSystemTrace(String) | Determines whether a category is a system category. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | SetExcludedCategoryPrefixes(IEnumerable<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.) |
![]() | Start() | Initializes this WebHostTraceWriter instance. |
![]() | ToString() | (Inherited from Object.) |
![]() | Trace(HttpRequestMessage, String, TraceLevel, Action<TraceRecord>) | |
![]() | TranslateHttpResponseException(TraceRecord) | (Inherited from SystemDiagnosticsTraceWriter.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)
.jpeg?cs-save-lang=1&cs-lang=csharp)