Elastic APM integration with Microsoft.Extensions.Logging.Configuration. This package automatically captures logs on error level as APM errors and correlates those to APM traces when the APM agent is active.
$ dotnet add package Elastic.Apm.Extensions.LoggingNo README available.