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
System_CAPS_pubmethod SystemTraceWriter(IServiceSettingsProvider)

System_CAPS_pubmethod SystemTraceWriter(IServiceSettingsProvider, TimeSpan, Int32)

Initializes a new instance of the SystemTraceWriter class

Properties

Name Description
System_CAPS_pubproperty LogDirectory

Methods

Name Description
System_CAPS_protmethod CreateLogFolder(String)

System_CAPS_pubmethod Dispose()

System_CAPS_protmethod Dispose(Boolean)

System_CAPS_pubmethod Enqueue(TraceRecord)

Enqueues a TraceRecord to be written to MDS.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod Flush()

Flush any queued events to disk immediately.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetLogFilePath()

Get a unique path to a new log file.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod RegisterObject(IRegisteredObject)

System_CAPS_pubmethod Start()

Initializes this SystemTraceWriter instance.

System_CAPS_pubmethod 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.

System_CAPS_protmethod TimerFlush(Object)

Flush any queued events to disk immediately.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_protmethod UnregisterObject(IRegisteredObject)

System_CAPS_protmethod 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