Skip to content

Commit

Permalink
Added behavior comment in example.
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeBlanch committed Jul 21, 2022
1 parent c6c606f commit 8397470
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/LoggingExtensions/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,7 @@
// Note: For Serilog this call flushes all logs
Log.CloseAndFlush();

// Manually dispose OpenTelemetryLoggerProvider since it is being shared
// Manually dispose OpenTelemetryLoggerProvider since it is being shared. This
// causes a log message to be written to the OpenTelemetry-Sdk EventSource which
// OpenTelemetryEventSourceLogEmitter will capture.
openTelemetryLoggerProvider.Dispose();

0 comments on commit 8397470

Please sign in to comment.