Mercurial > pub > ImplabNet
diff Implab/Diagnostics/TraceEvent.cs @ 43:7c2369f580b8
improved tracing, TextListenerBase can be bound to logical operation scope.
author | cin |
---|---|
date | Wed, 16 Apr 2014 10:12:56 +0400 |
parents | 3ba6778ed336 |
children | edf0bc558596 |
line wrap: on
line diff
--- a/Implab/Diagnostics/TraceEvent.cs Wed Apr 16 00:33:09 2014 +0400 +++ b/Implab/Diagnostics/TraceEvent.cs Wed Apr 16 10:12:56 2014 +0400 @@ -25,7 +25,7 @@ } public static TraceEvent Create(TraceEventType type, string format, params object[] args) { - return new TraceEvent(type, String.Format(format ?? String.Empty, args)); + return new TraceEvent(type, format == null ? String.Empty : String.Format(format, args)); } } }