diff --git a/src/OpenTelemetry.AutoInstrumentation/Logger/LogBuilderExtensions.cs b/src/OpenTelemetry.AutoInstrumentation/Logger/LogBuilderExtensions.cs index b4441a7c70..ac8768737d 100644 --- a/src/OpenTelemetry.AutoInstrumentation/Logger/LogBuilderExtensions.cs +++ b/src/OpenTelemetry.AutoInstrumentation/Logger/LogBuilderExtensions.cs @@ -30,7 +30,7 @@ internal static class LogBuilderExtensions private static bool? _autoInstrumentationStartupAssemblyConfigured; private static Type? _loggingProviderSdkType; - public static void AddOpenTelemetryLogsFromIntegration(this ILoggingBuilder builder) + public static void AddOpenTelemetryLogsFromIntegration(ILoggingBuilder builder) { // For Net6, if HostingStartupAssembly is configured, we don't want to call integration again for host's ServiceCollection. // OpenTelemetryLogger-related services were already added to WebApplicationServiceCollection and will