C# Class AzureWebFarm.Helpers.DiagnosticsHelper

Datei anzeigen Open project: MRCollective/AzureWebFarm Class Usage Examples

Public Methods

Method Description
ConfigureDiagnosticMonitor ( LogLevel logLevel ) : void
WaitForAllHttpRequestsToEnd ( ILogger logger ) : void
WriteExceptionToBlobStorage ( Exception ex ) : void

Logs exceptions to blob storage (useful for logging exceptions without delay before role crashes). See: http://weblogs.thinktecture.com/cweyer/2011/01/trying-to-troubleshoot-windows-azure-compute-role-startup-issues.html

Method Details

ConfigureDiagnosticMonitor() public static method

public static ConfigureDiagnosticMonitor ( LogLevel logLevel ) : void
logLevel LogLevel
return void

WaitForAllHttpRequestsToEnd() public static method

public static WaitForAllHttpRequestsToEnd ( ILogger logger ) : void
logger ILogger
return void

WriteExceptionToBlobStorage() public static method

Logs exceptions to blob storage (useful for logging exceptions without delay before role crashes). See: http://weblogs.thinktecture.com/cweyer/2011/01/trying-to-troubleshoot-windows-azure-compute-role-startup-issues.html
public static WriteExceptionToBlobStorage ( Exception ex ) : void
ex System.Exception The exception to log to blob storage
return void