Esempio n. 1
0
 public override void AddInfoEvent(string info)
 {
     if (!this.IsEnabled(EventTracingLogger.Flags.Performance, EventTracingLogger.Level.Normal))
     {
         return;
     }
     int num = (int)EventTracingLogger.EventProvider.TraceEvent(PerformanceEventParser.GetGuidForEvent(PerformanceEvent.InfoEvent), 0U, (object)1, (object)info);
 }
Esempio n. 2
0
 public override void AddEndEvent(PerformanceEvent performanceEvent, string additionalInformation)
 {
     if (!this.IsEnabled(EventTracingLogger.Flags.Performance, EventTracingLogger.Level.Normal))
     {
         return;
     }
     int num = (int)EventTracingLogger.EventProvider.TraceEvent(PerformanceEventParser.GetGuidForEvent(performanceEvent), 2U, (object)1, (object)(PerformanceEventParser.GetMessageForEvent(performanceEvent) + ":" + additionalInformation));
 }
Esempio n. 3
0
 public override void AddLogEvent(PerformanceEvent performanceEvent)
 {
     if (!this.IsEnabled(EventTracingLogger.Flags.Performance, EventTracingLogger.Level.Normal))
     {
         return;
     }
     int num = (int)EventTracingLogger.EventProvider.TraceEvent(PerformanceEventParser.GetGuidForEvent(performanceEvent), 0U, (object)1, (object)PerformanceEventParser.GetMessageForEvent(performanceEvent));
 }
Esempio n. 4
0
 public override void AddInterimStep(PerformanceEvent performanceEvent, string stepName)
 {
     if (!this.IsEnabled(EventTracingLogger.Flags.Performance, EventTracingLogger.Level.Normal))
     {
         return;
     }
     int num = (int)EventTracingLogger.EventProvider.TraceEvent(PerformanceEventParser.GetGuidForEvent(performanceEvent), 0U, (object)1, (object)(PerformanceEventParser.GetMessageForEvent(performanceEvent) + " : " + stepName));
 }