@@ -25,7 +25,7 namespace Implab.Diagnostics { | |||||
25 | } |
|
25 | } | |
26 |
|
26 | |||
27 | public static TraceEvent Create(TraceEventType type, string format, params object[] args) { |
|
27 | public static TraceEvent Create(TraceEventType type, string format, params object[] args) { | |
28 | return new TraceEvent(type, String.Format(format, args)); |
|
28 | return new TraceEvent(type, String.Format(format ?? String.Empty, args)); | |
29 | } |
|
29 | } | |
30 | } |
|
30 | } | |
31 | } |
|
31 | } |
General Comments 0
You need to be logged in to leave comments.
Login now