elastic / apm-agent-dotnet

https://www.elastic.co/guide/en/apm/agent/dotnet/current/index.html
Apache License 2.0
581 stars 207 forks source link

Fix message format for logging in managed profiler #2350

Closed stevejgordon closed 4 months ago

stevejgordon commented 4 months ago

Currently, this message is not formatted so is missing in the logs:

[2024-05-13T13:49:16.0679410-07:00] [DEBUG] AutoInstrumentation.Initialize called
[2024-05-13T13:49:16.0709419-07:00] [DEBUG] [2024-05-13T13:49:16.1199410-07:00] [DEBUG] Creating BeginMethod Dynamic Method for...

Above, we see the timestamp twice on line two. The expected message should appear between these.