private void AddEventLog(string text)
 {
     if (IsShowEvents)
     {
         EventsLog.Add(text);
     }
 }
        /// <summary>
        /// This maps the default support for the event types.
        /// </summary>
        protected override void SupportLoadDefault()
        {
            SupportAdd(DataCollectionSupport.Boundary, (e) => EventsBoundary.Add(e));
            SupportAdd(DataCollectionSupport.Dispatcher, (e) => EventsDispatcher.Add(e));
            SupportAdd(DataCollectionSupport.EventSource, (e) => EventsEventSource.Add(e));
            SupportAdd(DataCollectionSupport.Logger, (e) => EventsLog.Add(e));
            SupportAdd(DataCollectionSupport.Statistics, (e) => EventsMicroservice.Add(e));
            SupportAdd(DataCollectionSupport.Telemetry, (e) => EventsMetric.Add(e));

            SupportAdd(DataCollectionSupport.Resource, (e) => EventsResource.Add(e));

            SupportAdd(DataCollectionSupport.Custom, (e) => EventsCustom.Add(e));

            SupportAdd(DataCollectionSupport.Security, (e) => EventsSecurity.Add(e));
        }