void InitializeDiagnostics(AzureDiagnosticsOptions options)
        {
            Debug.Assert(null != options);

            DiagnosticMonitorConfiguration dmc = DiagnosticMonitor.GetDefaultInitialConfiguration();

            dmc.Logs.ScheduledTransferPeriod = TimeSpan.FromMinutes(options.LogTransferPeriod);
            dmc.Logs.ScheduledTransferLogLevelFilter = options.LogTransferLevel;

            DiagnosticMonitor.Start(options.ConnectionName, dmc);
        }
        public AzureOptions(AzureStorageOptions storageOptions, AzureAppFabricOptions appFabricOptions, AzureDiagnosticsOptions diagnosticsOptions)
        {
            Debug.Assert(null != storageOptions);
            Debug.Assert(null != appFabricOptions);
            Debug.Assert(null != diagnosticsOptions);

            StorageOptions = storageOptions;
            AppFabricOptions = appFabricOptions;
            DiagnosticsOptions = diagnosticsOptions;
        }