SystemTraceWriter Class
This ITraceWriter implementation writes system logs to the file system, for import by the Antares MDS bridge.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Diagnostics
Assembly: Microsoft.WindowsAzure.Mobile.Service.WebHost (in Microsoft.WindowsAzure.Mobile.Service.WebHost.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.Mobile.Service.Diagnostics.SystemTraceWriter
Syntax
public class SystemTraceWriter : IRegisteredObject, IDisposable
public ref class SystemTraceWriter : IRegisteredObject, IDisposable
type SystemTraceWriter =
class
interface IRegisteredObject
interface IDisposable
end
Public Class SystemTraceWriter
Implements IRegisteredObject, IDisposable
Constructors
Name | Description | |
---|---|---|
SystemTraceWriter(IServiceSettingsProvider) | ||
SystemTraceWriter(IServiceSettingsProvider, TimeSpan, Int32) | Initializes a new instance of the SystemTraceWriter class |
Properties
Name | Description | |
---|---|---|
LogDirectory |
Methods
Name | Description | |
---|---|---|
CreateLogFolder(String) | ||
Dispose() | ||
Dispose(Boolean) | ||
Enqueue(TraceRecord) | Enqueues a TraceRecord to be written to MDS. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
Flush() | Flush any queued events to disk immediately. |
|
GetHashCode() | (Inherited from Object.) |
|
GetLogFilePath() | Get a unique path to a new log file. |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
RegisterObject(IRegisteredObject) | ||
Start() | Initializes this SystemTraceWriter instance. |
|
Stop(Boolean) | Is called by the ASP.NET infrastructure when ASP.NET is about to take down the app domain. See IRegisteredObject for more information. |
|
TimerFlush(Object) | Flush any queued events to disk immediately. |
|
ToString() | (Inherited from Object.) |
|
UnregisterObject(IRegisteredObject) | ||
WriteLogFile(String, IEnumerable<String>) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsAzure.Mobile.Service.Diagnostics Namespace
Return to top