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); }
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)); }
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)); }
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)); }