diff --git a/Plugin/BasePluginContext.cs b/Plugin/BasePluginContext.cs index 7503bf4..c2835b6 100644 --- a/Plugin/BasePluginContext.cs +++ b/Plugin/BasePluginContext.cs @@ -274,14 +274,7 @@ public void Trace(string message, params object[] args) // The duration since the last trace. var deltaMilliseconds = utcNow.Subtract(_previousTraceTime).TotalMilliseconds; - if (args.Length > 0) - { - TracingService.Trace($"[+{deltaMilliseconds:N0}ms] - {string.Format(message, args)}"); - } - else - { - TracingService.Trace($"[+{deltaMilliseconds:N0}ms] - {message}"); - } + TracingService.Trace($"[+{deltaMilliseconds:N0}ms] - {message}", args); _previousTraceTime = utcNow; }