diff --git a/src/OpenTelemetry/Sdk.cs b/src/OpenTelemetry/Sdk.cs
index f903510b40c..0258018b6e1 100644
--- a/src/OpenTelemetry/Sdk.cs
+++ b/src/OpenTelemetry/Sdk.cs
@@ -19,6 +19,7 @@
using System.Diagnostics;
using OpenTelemetry.Context.Propagation;
using OpenTelemetry.Internal;
+using OpenTelemetry.Logs;
using OpenTelemetry.Metrics;
using OpenTelemetry.Trace;
@@ -83,5 +84,19 @@ public static TracerProviderBuilder CreateTracerProviderBuilder()
{
return new TracerProviderBuilderBase();
}
+
+ ///
+ /// Creates a which is used to build
+ /// a . In a typical application, a single
+ /// is created at application startup and
+ /// disposed at application shutdown. It is important to ensure that the
+ /// provider is not disposed too early.
+ ///
+ /// instance, which is used
+ /// to build a .
+ internal static LoggerProviderBuilder CreateLoggerProviderBuilder()
+ {
+ return new LoggerProviderServiceCollectionBuilder();
+ }
}
}