// Token: 0x06000002 RID: 2 RVA: 0x000020F8 File Offset: 0x000002F8 public void LogEvent(HealthMonitoringEvents eventId, params KeyValuePair <string, object>[] eventData) { LogRowFormatter logRowFormatter = new LogRowFormatter(HealthMonitoringLog.healthMonitoringSchema); logRowFormatter[1] = HealthMonitoringEventsStrings.StringMap[eventId]; logRowFormatter[2] = eventData; this.logger.Append(logRowFormatter, 0); }
// Token: 0x0600015D RID: 349 RVA: 0x000094F0 File Offset: 0x000076F0 internal TaskDefinition(EventDefinition eventDefinition, string taskName, string startOperationName, string endOperationName, int[] latencyDistributionBoundaries, HealthMonitoringEvents latencyEvent, HealthMonitoringEvents errorEvent) { this.eventDefinition = eventDefinition; this.taskName = taskName; this.operationNames = Enum.GetNames(typeof(T)); this.operationNamesWithCountSuffix = new string[this.operationNames.Length]; for (int i = 0; i < this.operationNames.Length; i++) { this.operationNamesWithCountSuffix[i] = this.operationNames[i] + "Ct"; } this.startOperationName = startOperationName; this.endOperationName = endOperationName; this.latencyDistributionBoundaries = latencyDistributionBoundaries; this.latencyEvent = latencyEvent; this.errorEvent = errorEvent; }