Skip to content

Commit

Permalink
fix output log message as literal in MetricsEventSource (#60176)
Browse files Browse the repository at this point in the history
  • Loading branch information
itn3000 committed Oct 8, 2021
1 parent cf2157d commit 3649506
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -374,11 +374,11 @@ private void ParseSpecs(string? metricsSpecs)
{
if (!MetricSpec.TryParse(specString, out MetricSpec spec))
{
Log.Message("Failed to parse metric spec: {specString}");
Log.Message($"Failed to parse metric spec: {specString}");
}
else
{
Log.Message("Parsed metric: {spec}");
Log.Message($"Parsed metric: {spec}");
if (spec.InstrumentName != null)
{
_aggregationManager!.Include(spec.MeterName, spec.InstrumentName);
Expand Down

0 comments on commit 3649506

Please sign in to comment.