C# 클래스 AzureWebFarm.Helpers.DiagnosticsHelper

파일 보기 프로젝트 열기: MRCollective/AzureWebFarm 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ConfigureDiagnosticMonitor() 공개 정적인 메소드

public static ConfigureDiagnosticMonitor ( LogLevel logLevel ) : void
logLevel LogLevel
리턴 void

WaitForAllHttpRequestsToEnd() 공개 정적인 메소드

public static WaitForAllHttpRequestsToEnd ( ILogger logger ) : void
logger ILogger
리턴 void

WriteExceptionToBlobStorage() 공개 정적인 메소드

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
리턴 void