All infrastructure for LogRecord is internal #6188
Labels
enhancement
New feature or request
needs-triage
New issues which have not been classified or triaged by a community member
pkg:OpenTelemetry
Issues related to OpenTelemetry NuGet package
Package
OpenTelemetry
Is your feature request related to a problem?
All infrastructure (pool, constructors) for
LogRecord
is internal. This makes it impossible without reflection to create any kind of logging infrastructure that emitsLogRecord
.What is the expected behavior?
At minimum, make
LogRecord
constructor public.opentelemetry-dotnet/src/OpenTelemetry/Logs/LogRecord.cs
Line 32 in a8f1076
Create public property for
ScopeProvider
, which cannot be set at all right now.Which alternative solutions or features have you considered?
Make an implementation of
ILogRecordPool
public so thatRent()
andReturn
methods can be used.The text was updated successfully, but these errors were encountered: