static LoggingLogDeliveryFailureEvent()
 {
     int performanceCounterId =
         (int)CounterID.LogDistributedToDefaultSink;
     string[] counterNames = new string[]
         {
             LoggingServiceEvent.counters[performanceCounterId].CounterName
         };
     failureEvent = new LoggingLogDeliveryFailureEvent(counterNames);
     writerLock = new ReaderWriterLock();
 }
        static LoggingLogDeliveryFailureEvent()
        {
            int performanceCounterId =
                (int)CounterID.LogDistributedToDefaultSink;

            string[] counterNames = new string[]
            {
                LoggingServiceEvent.counters[performanceCounterId].CounterName
            };
            failureEvent = new LoggingLogDeliveryFailureEvent(counterNames);
            writerLock   = new ReaderWriterLock();
        }