-
Is there a reason this method is marked internal and not public? I was hoping adding logging with OTLP would be as simple as this code, but even if WithLogging was public, this code still wouldn't work. Am I totally doing this wrong?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Logging with OTEL is not configured the same way as metrics or trace.
|
Beta Was this translation helpful? Give feedback.
Logging with OTEL is not configured the same way as metrics or trace.
Probably due to the fact that logging was existing in many Framework before Otel exist.
So in asp.net they hook the configuration like this :
public static IServiceCollection ConfigureOtelLogging(this IServiceCollection services) =>