diff Implab/Parallels/WorkerPool.cs @ 36:313f708a50e9 diagnostics

improved log concept
author cin
date Tue, 15 Apr 2014 02:00:09 +0400
parents 2880242f987a
children fe33f4e02ad5
line wrap: on
line diff
--- a/Implab/Parallels/WorkerPool.cs	Mon Apr 14 18:25:26 2014 +0400
+++ b/Implab/Parallels/WorkerPool.cs	Tue Apr 15 02:00:09 2014 +0400
@@ -42,10 +42,10 @@
 
             var promise = new Promise<T>();
 
-            var caller = LogContext.Current;
+            var caller = TraceContext.Current;
 
             EnqueueTask(delegate() {
-                Log.Transfer(caller);
+                TraceLog.Transfer(caller);
                 try {
                     promise.Resolve(task());
                 } catch (Exception e) {