Skip to content

Commit

Permalink
Bug fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Sep 28, 2022
1 parent 0acb01f commit b77cf72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/OpenTelemetry/Logs/OpenTelemetryLoggerProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ internal OpenTelemetryLoggerProvider(OpenTelemetryLoggerOptions options)

this.Resource = options.ResourceBuilder.Build();

foreach (var processor in options.Processors)
{
this.AddProcessor(processor);
}

OpenTelemetrySdkEventSource.Log.OpenTelemetryLoggerProviderEvent("OpenTelemetryLoggerProvider built successfully.");
}

Expand Down

0 comments on commit b77cf72

Please sign in to comment.