# HG changeset patch # User cin # Date 1495115594 -10800 # Node ID cc1baf7c8bd97ceb04e261b67421cbbedb960734 # Parent babe55c34931de0a07e3919521a1f0171e7c0d5e fixed trace diff -r babe55c34931 -r cc1baf7c8bd9 Implab/Diagnostics/TraceEvent.cs --- a/Implab/Diagnostics/TraceEvent.cs Thu May 04 02:17:53 2017 +0300 +++ b/Implab/Diagnostics/TraceEvent.cs Thu May 18 16:53:14 2017 +0300 @@ -41,7 +41,7 @@ } public static TraceEvent Create(LogicalOperation operation, TraceEventType type, string format, params object[] args) { - return new TraceEvent(operation, type, format == null ? String.Empty : String.Format(format, args)); + return new TraceEvent(operation, type, format == null ? String.Empty : args == null || args.Length == 0 ? format : String.Format(format, args)); } } }