16 writes to Logger
Aspire.Dashboard (1)
Otlp\Storage\TelemetryRepository.cs (1)
71Logger = _logger,
Aspire.Dashboard.Components.Tests (3)
Controls\PlotlyChartTests.cs (1)
56var context = new OtlpContext { Options = options, Logger = logger };
Controls\StructuredLogDetailsTests.cs (1)
25var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
300Logger = logger ?? NullLogger.Instance
Aspire.Dashboard.Tests (12)
Model\SpanWaterfallViewModelTests.cs (5)
19var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 49var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 84var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 124var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 146var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
Model\TraceHelpersTests.cs (5)
18var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 39var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 66var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 93var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() }; 127var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
TelemetryRepositoryTests\OtlpSpanTests.cs (1)
20var context = new OtlpContext { Logger = NullLogger.Instance, Options = new() };
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
300Logger = logger ?? NullLogger.Instance
15 references to Logger
Aspire.Dashboard (15)
Otlp\Model\OtlpApplication.cs (6)
95Context.Logger.LogInformation(ex, "Error adding metric instrument {MetricName}.", metric.Name); 136Context.Logger.LogInformation(ex, "Error adding metric."); 150Context.Logger.LogInformation(ex, "Error adding metric."); 164Context.Logger.LogInformation(ex, "Error adding metric."); 170Context.Logger.LogInformation("Error adding summary metrics. Summary is not supported."); 174Context.Logger.LogInformation("Error adding exponential histogram metrics. Exponential histogram is not supported.");
Otlp\Model\OtlpHelpers.cs (3)
232context.Logger.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key); 309context.Logger.LogDebug("Duplicate attribute {Name} with different value. Last value wins.", attribute.Key); 464context.Logger.LogInformation(ex, "Error adding scope.");
Otlp\Storage\Subscription.cs (1)
28_callbackThrottler = new CallbackThrottler(name, telemetryRepository._otlpContext.Logger, telemetryRepository._subscriptionMinExecuteInterval, callback, executionContext);
Otlp\Storage\TelemetryRepository.cs (5)
317_otlpContext.Logger.LogInformation(ex, "Error adding application."); 385_otlpContext.Logger.LogInformation(ex, "Error adding log entry."); 843_otlpContext.Logger.LogInformation(ex, "Error adding application."); 871_otlpContext.Logger.LogInformation(ex, "Error adding application."); 1031_otlpContext.Logger.LogInformation(ex, "Error adding span.");