示例#1
0
 public virtual async Task Initialize(ILoggerConfiguration config)
 {
     InitializeResult(TraceEventType.Information, RequestData.DisplayUrl);
     // Need to save off anything from the request/context objects here in the main thread
     SetRoute();
     SetMethod();
     SetHeaders();
     SetQueryString();
     SetFormData();
     if (config.Include(RequestDataKey))
     {
         ContentData = await RequestData.ContentData();
     }
     SetBrowser();
 }