public void ReportMetric <T>(string context, MetricValueSource <T> valueSource) { _logger.LogDebug("Writing Metric {T} for Console", typeof(T)); WriteLine(valueSource.HumanzizeName(context)); WriteLine(valueSource.Hummanize()); _logger.LogDebug("Writing Metric {T} for Console", typeof(T)); }
public static void WriteMetricName <T>(this StringBuilder buffer, string context, MetricValueSource <T> valueSource) { buffer.AppendLine(valueSource.HumanzizeName(context)); }
public void ReportMetric <T>(string name, MetricValueSource <T> valueSource) { WriteLine(valueSource.HumanzizeName(name)); WriteLine(valueSource.Hummanize()); }