ClearCanvas.ImageServer.Services.Streaming.ImageStreaming.WADORequestProcessor.LogRequest C# (CSharp) Method

LogRequest() private static method

Logs information about the request.
private static LogRequest ( HttpListenerContext context ) : void
context System.Net.HttpListenerContext
return void
		private static void LogRequest(HttpListenerContext context)
        {
        	StringBuilder info = new StringBuilder();

        	info.AppendFormat("\n\tAgents={0}", context.Request.UserAgent);
        	info.AppendFormat("\n\tRequestType={0}", context.Request.QueryString["RequestType"]);
        	info.AppendFormat("\n\tStudyUid={0}", context.Request.QueryString["StudyUid"]);
        	info.AppendFormat("\n\tSeriesUid={0}", context.Request.QueryString["SeriesUid"]);
        	info.AppendFormat("\n\tObjectUid={0}", context.Request.QueryString["ObjectUid"]);
        	info.AppendFormat("\n\tAccepts={0}", GetClientAcceptTypes(context));

        	Platform.Log(LogLevel.Debug, info);
        }