Beispiel #1
0
        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));
        }
Beispiel #2
0
 public static void WriteMetricValue <T>(this StringBuilder buffer, MetricValueSource <T> valueSource)
 {
     buffer.AppendLine(valueSource.Hummanize());
 }
Beispiel #3
0
        public void ReportMetric <T>(string name, MetricValueSource <T> valueSource)
        {
            WriteLine(valueSource.HumanzizeName(name));

            WriteLine(valueSource.Hummanize());
        }