private static void GlobalActivityLogger(object sender, ActivityEventArgs args)
        {
            IActivityScope activityScope = sender as IActivityScope;

            if (activityScope.ActivityType == ActivityType.Global && (args.ActivityEventType == ActivityEventType.EndActivity || args.ActivityEventType == ActivityEventType.SuspendActivity))
            {
                RequestDetailsLoggerBase <T> requestDetailsLoggerBase = RequestDetailsLoggerBase <T> .InitializeRequestLogger(activityScope);

                ServiceCommonMetadataPublisher.PublishServerInfo(requestDetailsLoggerBase.ActivityScope);
                requestDetailsLoggerBase.Commit();
            }
        }
 public static T InitializeRequestLogger()
 {
     return(RequestDetailsLoggerBase <T> .InitializeRequestLogger(null));
 }