Skip to content

Commit

Permalink
Fix message format for logging in managed profiler (#2350)
Browse files Browse the repository at this point in the history
Co-authored-by: Martijn Laarman <[email protected]>
  • Loading branch information
stevejgordon and Mpdreamz authored May 23, 2024
1 parent 27bfc51 commit b2f39a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static void Initialize()
skipInstantiation = true;
#endif
Logger.Log(LogLevel.Debug,
"{methodName}: value of {skipInstantiation}", $"{nameof(AutoInstrumentation)}.{nameof(Initialize)}", skipInstantiation);
"{0}: value of {1}", $"{nameof(AutoInstrumentation)}.{nameof(Initialize)}", skipInstantiation);

// ensure global instance is created if it's not already
if (!skipInstantiation)
Expand Down

0 comments on commit b2f39a4

Please sign in to comment.