Skip to content

Commit

Permalink
Merged PR 4065: [3.1.4] | Fixes FormatException when Tracing is enabl…
Browse files Browse the repository at this point in the history
…ed (#1291)

Ports [#1291](#1291)
  • Loading branch information
DavoudEshtehari committed Oct 16, 2023
1 parent ef52c79 commit 6d98ca0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private string GetFormattedMessage(string className, string memberName, string e

#region Traces without if statements
[NonEvent]
internal void TraceEvent<T0, T1>(string message, T0 args0, T1 args1, [System.Runtime.CompilerServices.CallerMemberName] string memberName = "")
internal void TraceEvent<T0, T1>(string message, T0 args0, T1 args1)
{
Trace(string.Format(message, args0?.ToString() ?? NullStr, args1?.ToString() ?? NullStr));
}
Expand Down

0 comments on commit 6d98ca0

Please sign in to comment.