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

            WriteLine(valueSource.Hummanize());
        }