* Support dependency injection in logging. Add AddOpenTelemetryEventSourceLogEmitter extension. * CHANGELOG update. * Bug fixes and a test. * More fixes and more tests. * Tweak comments for clarity. * Added OpenTelemetryLoggerOptions.Services xml detail remarks. * More tests. * More tests. * Test fix. * More tests. * Tests and fixes. * Warning cleanup. * Added resource test. * Smooth out multiple resource configurations. * Resource chaining fix. * Remove throw for additional SetResourceBuilder calls. * Warning fixes. * Moved OpenTelemetryEventSourceLogEmitter extension to OpenTelemetryLoggerOptions. * Tweaks. * Switched from static to builder pattern. * Tweaks. * More tests. * Fix CHANGELOG for release. * Tweaks. * Test updates. * Added a detached configuration option. * Prevent double registration to be consistent with tracer builder pattern. * API review. * Warning cleanup. * Build fixes. * Test fix. |
||
|---|---|---|
| .. | ||
| ExampleEventSource.cs | ||
| Examples.LoggingExtensions.csproj | ||
| Program.cs | ||
| README.md | ||
README.md
OpenTelemetry Logging Extensions Example
This project contains examples of the LogEmitter API being used to extend
existing logging platforms to write into OpenTelemetry logs.
- Serilog: Using OpenTelemetry.Extensions.Serilog