SystemTraceWriter Constructor (IServiceSettingsProvider, TimeSpan, Int32)

 

Initializes a new instance of the SystemTraceWriter class

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

public SystemTraceWriter(
	IServiceSettingsProvider settingsProvider,
	TimeSpan flushTimeout,
	int maxQueueLength
)

Parameters

flushTimeout
Type: System.TimeSpan

The time interval between log flushes to disks

maxQueueLength
Type: System.Int32

The max queue length before dropping logs.

settingsProvider
Type: Microsoft.WindowsAzure.Mobile.Service.Config.IServiceSettingsProvider

A IServiceSettingsProvider used to obtain the settings for this service.

Return to top
Show: